1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/net/gnrc/network_layer/ipv6
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
..
blacklist sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
ext gnrc_ipv6_ext_frag: propagate error up the stack on _snd_buf_free() 2020-12-01 11:32:18 +01:00
hdr sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
nib gnrc_ipv6_nib: consider all prefixes when deciding on-link next hop 2021-06-07 12:58:42 +02:00
whitelist sys/*: realign ENABLE_DEBUG 2020-10-23 11:27:48 +02:00
gnrc_ipv6.c all: adapt to moved sched defines 2020-11-23 16:56:34 +01:00
Kconfig treewide: change prefix for generated Kconfig symbols. 2020-08-31 09:37:09 +02:00
Makefile gnrc: make all gnrc modules sub-modules of gnrc 2015-08-18 23:00:07 +02:00