[riot-notifications] [RIOT-OS/RIOT] gnrc_ipv6_nib: auto-configure downstream subnets (#16536)

benpicco notifications at github.com
Mon Aug 9 18:55:20 CEST 2021


@benpicco commented on this pull request.



> +        /* create subnet by adding interface index */
+        new_prefix.u64[0].u64 = byteorder_ntohll(prefix->u64[0]);
+        new_prefix.u64[0].u64 |= (uint64_t)subnets-- << (63 - prefix_len);

I can do without the endianness conversion, but there is still some sorcery involved: eea3f6adb987fbb717a9ad795c6fe57e10902e27

-- 
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/16536#discussion_r685363483
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210809/b229e9fa/attachment.htm>


More information about the notifications mailing list