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
27extern "C" {
28#endif
29
33typedef 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;
44
54
55#ifdef __cplusplus
56}
57#endif
58
59#endif /* NET_RPL_RPL_NETSTATS_H */
One block of RPL statistics.
uint32_t rx_ucast_bytes
unicast bytes received
uint32_t rx_mcast_count
multicast packets received
uint32_t tx_mcast_count
multicast packets sent
uint32_t rx_ucast_count
unicast packets received
uint32_t rx_mcast_bytes
multicast bytes received
uint32_t tx_ucast_bytes
unicast bytes sent
uint32_t tx_mcast_bytes
multicast bytes sent
uint32_t tx_ucast_count
unicast packets sent
RPL statistics struct.
netstats_rpl_block_t dis
DIS statistics.
netstats_rpl_block_t dio
DIO statistics.
netstats_rpl_block_t dao_ack
DAO-ACK statistics.
netstats_rpl_block_t dao
DAO statistics.