Packet statistics per module¶
Each module may store information about sent and received packets.
-
NETSTATS_LAYER2¶ 1
(0x01)
-
NETSTATS_IPV6¶ 1
(0x02)
-
NETSTATS_RPL¶ 1
(0x03)
-
NETSTATS_ALL¶ 1
(0xFF)
-
struct
netstats_t¶ Global statistics struct.
-
uint32_t
tx_unicast_count¶ packets sent via unicast
-
uint32_t
tx_mcast_count¶ packets sent via multicast (including broadcast)
-
uint32_t
tx_success¶ successful sending operations (either acknowledged or unconfirmed sending operation, e.g.
multicast)
-
uint32_t
tx_failed¶ failed sending operations
-
uint32_t
tx_bytes¶ sent bytes
-
uint32_t
rx_count¶ received (data) packets
-
uint32_t
rx_bytes¶ received bytes
-
uint32_t