]> git.baikalelectronics.ru Git - kernel.git/commit
[IPv6]: Export userland ND options through netlink (RDNSS support)
authorPierre Ynard <linkfanel@yahoo.fr>
Thu, 11 Oct 2007 04:22:05 +0000 (21:22 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Oct 2007 04:22:05 +0000 (21:22 -0700)
commitf9cad71a4f0230cd83dc02868e8fd9949f8031b5
tree5dcc41957a62b8ec06575ebfe47c75828caf8bfb
parent0d8a8a58f92770a77841ae121a95809aaeb4d7a4
[IPv6]: Export userland ND options through netlink (RDNSS support)

As discussed before, this patch provides userland with a way to access
relevant options in Router Advertisements, after they are processed
and validated by the kernel. Extra options are processed in a generic
way; this patch only exports RDNSS options described in RFC5006, but
support to control which options are exported could be easily added.

A new rtnetlink message type is defined, to transport Neighbor
Discovery options, along with optional context information. At the
moment only the address of the router sending an RDNSS option is
included, but additional attributes may be later defined, if needed by
new use cases.

Signed-off-by: Pierre Ynard <linkfanel@yahoo.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/rtnetlink.h
include/net/ndisc.h
net/ipv6/ndisc.c