NetworkManager/src/platform
Beniamino Galvani 08fdea122d ipv6: set neighbor parameters from RAs
IPv6 router advertisement messages contain the following parameters
(RFC 4861):

 - Reachable time: 32-bit unsigned integer.  The time, in
   milliseconds, that a node assumes a neighbor is reachable after
   having received a reachability confirmation.  Used by the Neighbor
   Unreachability Detection algorithm.  A value of zero means
   unspecified (by this router).

 - Retrans Timer: 32-bit unsigned integer.  The time, in milliseconds,
   between retransmitted Neighbor Solicitation messages.  Used by
   address resolution and the Neighbor Unreachability Detection
   algorithm.   A value of zero means unspecified (by this router).

Currently NM ignores them; however, since it leaves accept_ra=1, the
kernel parses RAs and applies those parameters for us [1].

In the next commit kernel handling of RAs will be disabled, so let NM
set those neighbor-related parameters.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/net/ipv6/ndisc.c?h=v5.2#n1353

(cherry picked from commit 5f0c6f8d3b)
2019-11-15 16:17:33 +01:00
..
linux platform: import nl82154.h 2018-06-26 16:21:54 +02:00
tests platform/tests: relax assertion for platform signal in test_slave() 2019-08-02 13:38:32 +02:00
wifi wifi: add OLPC Mesh support via nl80211 2019-09-07 17:26:16 +02:00
wpan platform: assert for out-of-memory in netlink code 2019-05-07 20:58:17 +02:00
nm-fake-platform.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-fake-platform.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-linux-platform.c platforn/linux: don't fall back to WEXT for OLPC Mesh 2019-09-07 17:26:16 +02:00
nm-linux-platform.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-netlink.c platform/netlink: mark nested netlink attribute with NLA_F_NESTED 2019-07-23 14:43:50 +02:00
nm-netlink.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-platform-private.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-platform-utils.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-platform-utils.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nm-platform.c ipv6: set neighbor parameters from RAs 2019-11-15 16:17:33 +01:00
nm-platform.h ipv6: set neighbor parameters from RAs 2019-11-15 16:17:33 +01:00
nmp-netns.c all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nmp-netns.h all: drop emacs file variables from source files 2019-06-11 10:04:00 +02:00
nmp-object.c platform: make plobj argument of nmp_object_new() void pointer 2019-07-29 18:39:49 +02:00
nmp-object.h platform: add NMP_OBJECT_CAST_LNK_WIREGUARD() macro 2019-07-29 18:39:49 +02:00
nmp-rules-manager.c all: codespell fixes 2019-07-24 11:30:19 +02:00
nmp-rules-manager.h policy-routing: take ownership of externally configured rules 2019-07-16 10:16:07 +02:00