[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:48:08 CEST 2019


miri64 commented on this pull request.



> +        return _completed(rbuf);
+    }
+    else if (!ipv6_ext_frag_more(fh)) {
+        /* first fragment but actually not fragmented */
+        _set_nh(fh_snip->next, nh);
+        gnrc_pktbuf_remove_snip(pkt, fh_snip);
+        gnrc_ipv6_ext_frag_rbuf_del(rbuf);
+        ipv6->len = byteorder_htons(byteorder_ntohs(ipv6->len) -
+                                    sizeof(ipv6_ext_frag_t));
+        return pkt;
+    }
+    else {
+        /* first fragment */
+        uint16_t ipv6_len = byteorder_ntohs(ipv6->len);
+
+        /* not divisible by 8*/

Will fix. 

-- 
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_r324342977
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190913/d63009c0/attachment.htm>


More information about the notifications mailing list