Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
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
uint32_t
rx_ucast_count
;
35
uint32_t
rx_ucast_bytes
;
36
uint32_t
rx_mcast_count
;
37
uint32_t
rx_mcast_bytes
;
38
uint32_t
tx_ucast_count
;
39
uint32_t
tx_ucast_bytes
;
40
uint32_t
tx_mcast_count
;
41
uint32_t
tx_mcast_bytes
;
43
}
netstats_rpl_block_t
;
44
48
typedef
struct
{
49
netstats_rpl_block_t
dio
;
50
netstats_rpl_block_t
dis
;
51
netstats_rpl_block_t
dao
;
52
netstats_rpl_block_t
dao_ack
;
53
}
netstats_rpl_t
;
54
55
#ifdef __cplusplus
56
}
57
#endif
58
59
#endif
/* NET_RPL_RPL_NETSTATS_H */
netstats_rpl_block_t
One block of RPL statistics.
Definition
rpl_netstats.h:33
netstats_rpl_block_t::rx_ucast_bytes
uint32_t rx_ucast_bytes
unicast bytes received
Definition
rpl_netstats.h:35
netstats_rpl_block_t::rx_mcast_count
uint32_t rx_mcast_count
multicast packets received
Definition
rpl_netstats.h:36
netstats_rpl_block_t::tx_mcast_count
uint32_t tx_mcast_count
multicast packets sent
Definition
rpl_netstats.h:40
netstats_rpl_block_t::rx_ucast_count
uint32_t rx_ucast_count
unicast packets received
Definition
rpl_netstats.h:34
netstats_rpl_block_t::rx_mcast_bytes
uint32_t rx_mcast_bytes
multicast bytes received
Definition
rpl_netstats.h:37
netstats_rpl_block_t::tx_ucast_bytes
uint32_t tx_ucast_bytes
unicast bytes sent
Definition
rpl_netstats.h:39
netstats_rpl_block_t::tx_mcast_bytes
uint32_t tx_mcast_bytes
multicast bytes sent
Definition
rpl_netstats.h:41
netstats_rpl_block_t::tx_ucast_count
uint32_t tx_ucast_count
unicast packets sent
Definition
rpl_netstats.h:38
netstats_rpl_t
RPL statistics struct.
Definition
rpl_netstats.h:48
netstats_rpl_t::dis
netstats_rpl_block_t dis
DIS statistics.
Definition
rpl_netstats.h:50
netstats_rpl_t::dio
netstats_rpl_block_t dio
DIO statistics.
Definition
rpl_netstats.h:49
netstats_rpl_t::dao_ack
netstats_rpl_block_t dao_ack
DAO-ACK statistics.
Definition
rpl_netstats.h:52
netstats_rpl_t::dao
netstats_rpl_block_t dao
DAO statistics.
Definition
rpl_netstats.h:51
Generated on Sat Dec 21 2024 20:58:04 by
1.9.8