Loading...
Searching...
No Matches
stats.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2019 Freie Universität Berlin
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
20#ifndef NET_GNRC_SIXLOWPAN_FRAG_STATS_H
21#define NET_GNRC_SIXLOWPAN_FRAG_STATS_H
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
32typedef struct {
33 unsigned rbuf_full;
35 unsigned frag_full;
37 unsigned datagrams;
38 unsigned fragments;
39#if defined(MODULE_GNRC_SIXLOWPAN_FRAG_VRB) || DOXYGEN
40 unsigned vrb_full;
42#endif
44
51
52#ifdef __cplusplus
53}
54#endif
55
56#endif /* NET_GNRC_SIXLOWPAN_FRAG_STATS_H */
gnrc_sixlowpan_frag_stats_t * gnrc_sixlowpan_frag_stats_get(void)
Get the current statistics on fragmentation and reassembly.
Statistics on fragmentation and reassembly.
Definition stats.h:32
unsigned datagrams
reassembled datagrams
Definition stats.h:37
unsigned rbuf_full
counts the number of events where the reassembly buffer is full
Definition stats.h:33
unsigned frag_full
counts the number of events that there where no gnrc_sixlowpan_frag_fb_t available
Definition stats.h:35
unsigned fragments
total fragments of reassembled fragments
Definition stats.h:38
unsigned vrb_full
counts the number of events where the virtual reassembly buffer is full
Definition stats.h:40