rpl_netstats.h
Go to the documentation of this file.
1 /*
2  * SPDX-FileCopyrightText: 2016 HAW Hamburg
3  * SPDX-License-Identifier: LGPL-2.1-only
4  */
5 
6 #pragma once
7 
20 #include <stdint.h>
21 
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25 
29 typedef struct {
30  uint32_t rx_ucast_count;
31  uint32_t rx_ucast_bytes;
32  uint32_t rx_mcast_count;
33  uint32_t rx_mcast_bytes;
34  uint32_t tx_ucast_count;
35  uint32_t tx_ucast_bytes;
36  uint32_t tx_mcast_count;
37  uint32_t tx_mcast_bytes;
40 
44 typedef struct {
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
One block of RPL statistics.
Definition: rpl_netstats.h:29
uint32_t rx_ucast_bytes
unicast bytes received
Definition: rpl_netstats.h:31
uint32_t rx_mcast_count
multicast packets received
Definition: rpl_netstats.h:32
uint32_t tx_mcast_count
multicast packets sent
Definition: rpl_netstats.h:36
uint32_t rx_ucast_count
unicast packets received
Definition: rpl_netstats.h:30
uint32_t rx_mcast_bytes
multicast bytes received
Definition: rpl_netstats.h:33
uint32_t tx_ucast_bytes
unicast bytes sent
Definition: rpl_netstats.h:35
uint32_t tx_mcast_bytes
multicast bytes sent
Definition: rpl_netstats.h:37
uint32_t tx_ucast_count
unicast packets sent
Definition: rpl_netstats.h:34
RPL statistics struct.
Definition: rpl_netstats.h:44
netstats_rpl_block_t dis
DIS statistics.
Definition: rpl_netstats.h:46
netstats_rpl_block_t dio
DIO statistics.
Definition: rpl_netstats.h:45
netstats_rpl_block_t dao_ack
DAO-ACK statistics.
Definition: rpl_netstats.h:48
netstats_rpl_block_t dao
DAO statistics.
Definition: rpl_netstats.h:47