[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_ext_frag: Initial import of IPv6 reassembly (#11596)

Martine Lenders notifications at github.com
Fri Sep 13 21:40:41 CEST 2019


miri64 commented on this pull request.



> @@ -38,6 +39,40 @@
 extern "C" {
 #endif
 
+/**
+ * @defgroup    net_gnrc_ipv6_ext_conf IPv6 extension header compile configurations
+ * @ingroup     net_gnrc_ipv6_ext
+ * @ingroup     config
+ * @{
+ */
+/**
+ * @brief   IPv6 fragmentation reassembly buffer size
+ *
+ * @note    Only applicable with [gnrc_ipv6_ext_frag](@ref net_gnrc_ipv6_ext_frag) module
+ */
+#ifndef GNRC_IPV6_EXT_FRAG_RBUF_SIZE
+#define GNRC_IPV6_EXT_FRAG_RBUF_SIZE        (1U)

No, there is just one reassembly entry per node configured. I. e. The node can only receive one packet >MTU at a time. Given that fragmentation _should_ be a corner case, IPv6 already expects an MTU of at least 1280, and most of our devices only have a few kilobytes of RAM, I believe this is a reasonable default value. 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11596#discussion_r324340696
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190913/b3f9eb5d/attachment.htm>


More information about the notifications mailing list