From 90ed5bf4afa1bd4e0c698fb4b6d784df01dceeb8 Mon Sep 17 00:00:00 2001 From: "Martine S. Lenders" Date: Thu, 30 Jan 2020 17:04:18 +0100 Subject: [PATCH] gnrc_sixlowpan_frag_rb: fix doc on DO_NOT_OVERRIDE --- sys/include/net/gnrc/sixlowpan/config.h | 12 ++++++------ sys/net/gnrc/network_layer/sixlowpan/frag/rb/Kconfig | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/sys/include/net/gnrc/sixlowpan/config.h b/sys/include/net/gnrc/sixlowpan/config.h index 5c9dd0eb74..686d48406f 100644 --- a/sys/include/net/gnrc/sixlowpan/config.h +++ b/sys/include/net/gnrc/sixlowpan/config.h @@ -83,16 +83,16 @@ extern "C" { #endif /** - * @brief Keep all but oldest fragment when reassembly buffer is full + * @brief Do not override oldest datagram when reassembly buffer is full * * @note Only applicable with * [gnrc_sixlowpan_frag_rb](@ref net_gnrc_sixlowpan_frag_rb) module * - * When not set, it will cause the reassembly buffer to override the oldest entry - * if a new entry has to be created and the reassembly buffer is full, no matter what. - * When set to 1, only incomplete entries that are older than - * @ref CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US will be overwritten (they will still - * timeout normally). + * When not set, it will cause the reassembly buffer to override the oldest + * entry when a fragment for a new datagram is received. When set, only the + * oldest entry that is older than @ref + * CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US will be overwritten (they will + * still timeout normally if reassembly buffer is not full). */ #ifdef DOXYGEN #define CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_DO_NOT_OVERRIDE diff --git a/sys/net/gnrc/network_layer/sixlowpan/frag/rb/Kconfig b/sys/net/gnrc/network_layer/sixlowpan/frag/rb/Kconfig index c3c0051fd0..d693a2dbf3 100644 --- a/sys/net/gnrc/network_layer/sixlowpan/frag/rb/Kconfig +++ b/sys/net/gnrc/network_layer/sixlowpan/frag/rb/Kconfig @@ -21,13 +21,13 @@ config GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US default 3000000 config GNRC_SIXLOWPAN_FRAG_RBUF_DO_NOT_OVERRIDE - bool "Keep all but oldest fragment when reassembly buffer is full" + bool "Do not override oldest datagram when reassembly buffer is full" help - When not set, it will cause the reassembly buffer to - override the oldest entry no matter what. When set, only the oldest - entry that is older than @ref CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US - will be overwritten (they will still timeout normally if reassembly - buffer is not full). + When not set, it will cause the reassembly buffer to override the oldest + entry when a fragment for a new datagram is received. When set, only the + oldest entry that is older than @ref + CONFIG_GNRC_SIXLOWPAN_FRAG_RBUF_TIMEOUT_US will be overwritten (they + will still timeout normally if reassembly buffer is not full). config GNRC_SIXLOWPAN_FRAG_RBUF_DEL_TIMER int "Deletion timer for reassembly buffer entries in microseconds"