Loading...
Searching...
No Matches
stats.h
Go to the documentation of this file.
1/*
2 * SPDX-FileCopyrightText: 2019 Freie Universität Berlin
3 * SPDX-License-Identifier: LGPL-2.1-only
4 */
5
6#pragma once
7
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
29typedef struct {
30 unsigned rbuf_full;
32 unsigned frag_full;
34 unsigned datagrams;
35 unsigned fragments;
36#if defined(MODULE_GNRC_SIXLOWPAN_FRAG_VRB) || DOXYGEN
37 unsigned vrb_full;
39#endif
41
48
49#ifdef __cplusplus
50}
51#endif
52
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:29
unsigned datagrams
reassembled datagrams
Definition stats.h:34
unsigned rbuf_full
counts the number of events where the reassembly buffer is full
Definition stats.h:30
unsigned frag_full
counts the number of events that there where no gnrc_sixlowpan_frag_fb_t available
Definition stats.h:32
unsigned fragments
total fragments of reassembled fragments
Definition stats.h:35
unsigned vrb_full
counts the number of events where the virtual reassembly buffer is full
Definition stats.h:37