1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc
Benjamin Valentin d2b6f79143 gnrc_ipv6_nib: consider all prefixes when deciding on-link next hop
Consider the following configuration:

    nib prefix
    2001:16b8:4569:88fc::/62 dev #7  expires 7081 sec deprecates 3481 sec
    2001:16b8:4569:88fe::/63 dev #6

If `_on_link()` stops at the first match, a packet received from #7 with a
destination in the downstream subnet in #6 would always be sent back via #7
if this happens to be the first entry in the list.

Instead, consider all prefixes and return the one that is the closest match.
2021-06-07 12:58:42 +02:00
..
application_layer sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
link_layer sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00
netapi sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
netif at86rf215: timestamp counter for rx frames 2021-05-12 15:27:36 +02:00
netreg sys/net/gnrc: Fix include of xtimer.h 2020-09-16 19:55:43 +02:00
network_layer gnrc_ipv6_nib: consider all prefixes when deciding on-link next hop 2021-06-07 12:58:42 +02:00
pkt gnrc: cleanup and corrections in gnrc_pkt 2017-04-22 20:56:54 +02:00
pktbuf gnrc_pktbuf: use _free function with gnrc_pktbuf_malloc 2021-02-12 18:15:40 +01:00
pktbuf_malloc gnrc_pktbuf: use _free function with gnrc_pktbuf_malloc 2021-02-12 18:15:40 +01:00
pktbuf_static gnrc_pktbuf_static: expose _align() function to be used for tests 2021-02-19 12:23:22 +01:00
pktdump treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
priority_pktqueue sys/*: add missing include of assert.h 2020-10-22 11:13:09 +02:00
routing/rpl gnrc_rpl: harden validation routine for options 2021-02-23 18:58:03 +01:00
sock sys/net/gnrc/tx_sync: new module 2021-02-03 15:16:42 +01:00
transport_layer gnrc_tcp: fix warnings from static-tests 2021-04-06 14:13:34 +02:00
tx_sync sys/net/gnrc/tx_sync: new module 2021-02-03 15:16:42 +01:00
doc.txt sys/net/gnrc: Add GNRC configuration Doxygen group 2019-12-06 12:18:03 +01:00
Kconfig treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
Makefile sys/net/gnrc/tx_sync: new module 2021-02-03 15:16:42 +01:00
Makefile.dep sys/crypto: Enable support for AES-192, AES-256 2021-05-03 17:34:49 +02:00