28#define GNRC_RPL_NETSTATS_MULTICAST (0) 
   29#define GNRC_RPL_NETSTATS_UNICAST   (1) 
   43    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
   47    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
   66    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
   70    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
   89    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
   93    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
  112    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
  116    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
  135    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
  139    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
  158    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
  162    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
  181    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
  185    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
  204    if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
 
  208    else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
 
 
MAYBE_INLINE void irq_restore(unsigned state)
This function restores the IRQ disable bit in the status register to the value contained within passe...
 
MAYBE_INLINE unsigned irq_disable(void)
This function sets the IRQ disable bit in the status register.
 
static void gnrc_rpl_netstats_tx_DIO(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for sent DIO.
 
static void gnrc_rpl_netstats_tx_DAO_ACK(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for sent DAO-ACK.
 
static void gnrc_rpl_netstats_rx_DAO(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for received DAO.
 
static void gnrc_rpl_netstats_tx_DAO(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for sent DIO.
 
static void gnrc_rpl_netstats_rx_DIO(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for received DIO.
 
static void gnrc_rpl_netstats_rx_DIS(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for received DIS.
 
static void gnrc_rpl_netstats_rx_DAO_ACK(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for received DAO-ACK.
 
static void gnrc_rpl_netstats_tx_DIS(netstats_rpl_t *netstats, size_t len, int cast)
Increase statistics for sent DIS.
 
Definition of RPL related packet statistics.
 
uint32_t rx_ucast_bytes
unicast bytes received
 
uint32_t rx_mcast_count
multicast packets received
 
uint32_t tx_mcast_count
multicast packets sent
 
uint32_t rx_ucast_count
unicast packets received
 
uint32_t rx_mcast_bytes
multicast bytes received
 
uint32_t tx_ucast_bytes
unicast bytes sent
 
uint32_t tx_mcast_bytes
multicast bytes sent
 
uint32_t tx_ucast_count
unicast packets sent
 
netstats_rpl_block_t dis
DIS statistics.
 
netstats_rpl_block_t dio
DIO statistics.
 
netstats_rpl_block_t dao_ack
DAO-ACK statistics.
 
netstats_rpl_block_t dao
DAO statistics.