29#define GNRC_RPL_NETSTATS_MULTICAST (0)
30#define GNRC_RPL_NETSTATS_UNICAST (1)
44 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
48 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
67 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
71 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
90 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
94 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
113 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
117 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
136 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
140 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
159 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
163 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
182 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
186 else if (cast == GNRC_RPL_NETSTATS_UNICAST) {
205 if (cast == GNRC_RPL_NETSTATS_MULTICAST) {
209 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.