rpl_netstats.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2016 HAW Hamburg
3  *
4  * This file is subject to the terms and conditions of the GNU Lesser
5  * General Public License v2.1. See the file LICENSE in the top level
6  * directory for more details.
7  */
8 
21 #include <stdint.h>
22 
23 #ifndef NET_RPL_RPL_NETSTATS_H
24 #define NET_RPL_RPL_NETSTATS_H
25 
26 #ifdef __cplusplus
27 extern "C" {
28 #endif
29 
33 typedef struct {
34  /* DIO */
35  uint32_t dio_rx_ucast_count;
36  uint32_t dio_rx_ucast_bytes;
37  uint32_t dio_rx_mcast_count;
38  uint32_t dio_rx_mcast_bytes;
39  uint32_t dio_tx_ucast_count;
40  uint32_t dio_tx_ucast_bytes;
41  uint32_t dio_tx_mcast_count;
42  uint32_t dio_tx_mcast_bytes;
43  /* DIS */
44  uint32_t dis_rx_ucast_count;
45  uint32_t dis_rx_ucast_bytes;
46  uint32_t dis_rx_mcast_count;
47  uint32_t dis_rx_mcast_bytes;
48  uint32_t dis_tx_ucast_count;
49  uint32_t dis_tx_ucast_bytes;
50  uint32_t dis_tx_mcast_count;
51  uint32_t dis_tx_mcast_bytes;
52  /* DAO */
53  uint32_t dao_rx_ucast_count;
54  uint32_t dao_rx_ucast_bytes;
55  uint32_t dao_rx_mcast_count;
56  uint32_t dao_rx_mcast_bytes;
57  uint32_t dao_tx_ucast_count;
58  uint32_t dao_tx_ucast_bytes;
59  uint32_t dao_tx_mcast_count;
60  uint32_t dao_tx_mcast_bytes;
61  /* DAO-ACK */
71 
72 #ifdef __cplusplus
73 }
74 #endif
75 
76 #endif /* NET_RPL_RPL_NETSTATS_H */
77 
netstats_rpl_t::dao_ack_rx_mcast_count
uint32_t dao_ack_rx_mcast_count
multicast dao_ack received in packets
Definition: rpl_netstats.h:64
netstats_rpl_t::dio_rx_mcast_bytes
uint32_t dio_rx_mcast_bytes
multicast dio received in bytes
Definition: rpl_netstats.h:38
netstats_rpl_t::dao_ack_tx_ucast_count
uint32_t dao_ack_tx_ucast_count
unicast dao_ack sent in packets
Definition: rpl_netstats.h:66
netstats_rpl_t::dao_ack_tx_mcast_bytes
uint32_t dao_ack_tx_mcast_bytes
multicast dao_ack sent in bytes
Definition: rpl_netstats.h:69
netstats_rpl_t::dao_rx_mcast_count
uint32_t dao_rx_mcast_count
multicast dao received in packets
Definition: rpl_netstats.h:55
netstats_rpl_t::dao_ack_rx_ucast_count
uint32_t dao_ack_rx_ucast_count
unicast dao_ack received in packets
Definition: rpl_netstats.h:62
netstats_rpl_t::dao_tx_mcast_bytes
uint32_t dao_tx_mcast_bytes
multicast dao sent in bytes
Definition: rpl_netstats.h:60
netstats_rpl_t::dio_rx_ucast_bytes
uint32_t dio_rx_ucast_bytes
unicast dio received in bytes
Definition: rpl_netstats.h:36
netstats_rpl_t::dio_tx_mcast_bytes
uint32_t dio_tx_mcast_bytes
multicast dio sent in bytes
Definition: rpl_netstats.h:42
netstats_rpl_t
RPL statistics struct.
Definition: rpl_netstats.h:33
netstats_rpl_t::dio_tx_ucast_count
uint32_t dio_tx_ucast_count
unicast dio sent in packets
Definition: rpl_netstats.h:39
netstats_rpl_t::dis_tx_ucast_bytes
uint32_t dis_tx_ucast_bytes
unicast dis sent in bytes
Definition: rpl_netstats.h:49
netstats_rpl_t::dio_rx_mcast_count
uint32_t dio_rx_mcast_count
multicast dio received in packets
Definition: rpl_netstats.h:37
netstats_rpl_t::dis_rx_mcast_bytes
uint32_t dis_rx_mcast_bytes
multicast dis received in bytes
Definition: rpl_netstats.h:47
netstats_rpl_t::dao_tx_mcast_count
uint32_t dao_tx_mcast_count
multicast dao sent in packets
Definition: rpl_netstats.h:59
netstats_rpl_t::dio_tx_ucast_bytes
uint32_t dio_tx_ucast_bytes
unicast dio sent in bytes
Definition: rpl_netstats.h:40
netstats_rpl_t::dao_ack_tx_mcast_count
uint32_t dao_ack_tx_mcast_count
multicast dao_ack sent in packets
Definition: rpl_netstats.h:68
netstats_rpl_t::dis_rx_ucast_bytes
uint32_t dis_rx_ucast_bytes
unicast dis received in bytes
Definition: rpl_netstats.h:45
netstats_rpl_t::dis_tx_mcast_bytes
uint32_t dis_tx_mcast_bytes
multicast dis sent in bytes
Definition: rpl_netstats.h:51
netstats_rpl_t::dis_tx_mcast_count
uint32_t dis_tx_mcast_count
multicast dis sent in packets
Definition: rpl_netstats.h:50
netstats_rpl_t::dio_tx_mcast_count
uint32_t dio_tx_mcast_count
multicast dio sent in packets
Definition: rpl_netstats.h:41
netstats_rpl_t::dao_tx_ucast_count
uint32_t dao_tx_ucast_count
unicast dao sent in packets
Definition: rpl_netstats.h:57
netstats_rpl_t::dis_rx_mcast_count
uint32_t dis_rx_mcast_count
multicast dis received in packets
Definition: rpl_netstats.h:46
netstats_rpl_t::dao_rx_ucast_count
uint32_t dao_rx_ucast_count
unicast dao received in packets
Definition: rpl_netstats.h:53
netstats_rpl_t::dis_tx_ucast_count
uint32_t dis_tx_ucast_count
unicast dis sent in packets
Definition: rpl_netstats.h:48
netstats_rpl_t::dao_tx_ucast_bytes
uint32_t dao_tx_ucast_bytes
unicast dao sent in bytes
Definition: rpl_netstats.h:58
netstats_rpl_t::dio_rx_ucast_count
uint32_t dio_rx_ucast_count
unicast dio received in packets
Definition: rpl_netstats.h:35
netstats_rpl_t::dao_ack_tx_ucast_bytes
uint32_t dao_ack_tx_ucast_bytes
unicast dao_ack sent in bytes
Definition: rpl_netstats.h:67
netstats_rpl_t::dis_rx_ucast_count
uint32_t dis_rx_ucast_count
unicast dis received in packets
Definition: rpl_netstats.h:44
netstats_rpl_t::dao_ack_rx_ucast_bytes
uint32_t dao_ack_rx_ucast_bytes
unicast dao_ack received in bytes
Definition: rpl_netstats.h:63
netstats_rpl_t::dao_ack_rx_mcast_bytes
uint32_t dao_ack_rx_mcast_bytes
multicast dao_ack received in bytes
Definition: rpl_netstats.h:65
netstats_rpl_t::dao_rx_mcast_bytes
uint32_t dao_rx_mcast_bytes
multicast dao received in bytes
Definition: rpl_netstats.h:56
netstats_rpl_t::dao_rx_ucast_bytes
uint32_t dao_rx_ucast_bytes
unicast dao received in bytes
Definition: rpl_netstats.h:54