The friendly Operating System for the Internet of Things
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 NETSTATS_RPL_H
24 #define NETSTATS_RPL_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 /* NETSTATS_RPL_H */
77 
uint32_t dao_ack_tx_ucast_count
unicast dao_ack sent in packets
Definition: rpl_netstats.h:66
uint32_t dao_rx_mcast_bytes
multicast dao received in bytes
Definition: rpl_netstats.h:56
uint32_t dao_rx_ucast_bytes
unicast dao received in bytes
Definition: rpl_netstats.h:54
uint32_t dis_rx_ucast_count
unicast dis received in packets
Definition: rpl_netstats.h:44
uint32_t dao_ack_rx_mcast_count
multicast dao_ack received in packets
Definition: rpl_netstats.h:64
uint32_t dao_ack_tx_mcast_bytes
multicast dao_ack sent in bytes
Definition: rpl_netstats.h:69
uint32_t dio_tx_mcast_bytes
multicast dio sent in bytes
Definition: rpl_netstats.h:42
uint32_t dio_rx_ucast_bytes
unicast dio received in bytes
Definition: rpl_netstats.h:36
uint32_t dao_ack_rx_ucast_count
unicast dao_ack received in packets
Definition: rpl_netstats.h:62
uint32_t dao_tx_mcast_bytes
multicast dao sent in bytes
Definition: rpl_netstats.h:60
uint32_t dis_rx_mcast_bytes
multicast dis received in bytes
Definition: rpl_netstats.h:47
uint32_t dio_tx_ucast_count
unicast dio sent in packets
Definition: rpl_netstats.h:39
uint32_t dao_ack_tx_mcast_count
multicast dao_ack sent in packets
Definition: rpl_netstats.h:68
uint32_t dao_tx_ucast_count
unicast dao sent in packets
Definition: rpl_netstats.h:57
uint32_t dao_tx_mcast_count
multicast dao sent in packets
Definition: rpl_netstats.h:59
uint32_t dio_tx_mcast_count
multicast dio sent in packets
Definition: rpl_netstats.h:41
uint32_t dis_rx_mcast_count
multicast dis received in packets
Definition: rpl_netstats.h:46
uint32_t dis_tx_ucast_bytes
unicast dis sent in bytes
Definition: rpl_netstats.h:49
uint32_t dio_rx_mcast_count
multicast dio received in packets
Definition: rpl_netstats.h:37
uint32_t dis_tx_mcast_bytes
multicast dis sent in bytes
Definition: rpl_netstats.h:51
uint32_t dio_tx_ucast_bytes
unicast dio sent in bytes
Definition: rpl_netstats.h:40
uint32_t dis_tx_ucast_count
unicast dis sent in packets
Definition: rpl_netstats.h:48
uint32_t dio_rx_ucast_count
unicast dio received in packets
Definition: rpl_netstats.h:35
uint32_t dis_rx_ucast_bytes
unicast dis received in bytes
Definition: rpl_netstats.h:45
uint32_t dao_ack_tx_ucast_bytes
unicast dao_ack sent in bytes
Definition: rpl_netstats.h:67
uint32_t dao_rx_ucast_count
unicast dao received in packets
Definition: rpl_netstats.h:53
uint32_t dis_tx_mcast_count
multicast dis sent in packets
Definition: rpl_netstats.h:50
RPL statistics struct.
Definition: rpl_netstats.h:33
uint32_t dao_ack_rx_mcast_bytes
multicast dao_ack received in bytes
Definition: rpl_netstats.h:65
uint32_t dao_tx_ucast_bytes
unicast dao sent in bytes
Definition: rpl_netstats.h:58
uint32_t dao_ack_rx_ucast_bytes
unicast dao_ack received in bytes
Definition: rpl_netstats.h:63
uint32_t dio_rx_mcast_bytes
multicast dio received in bytes
Definition: rpl_netstats.h:38
uint32_t dao_rx_mcast_count
multicast dao received in packets
Definition: rpl_netstats.h:55