chiark / gitweb /
sd-icmp6-nd: Add Router Solicitation and Advertisement support
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 19 Jun 2014 12:38:55 +0000 (15:38 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Thu, 19 Jun 2014 12:44:43 +0000 (15:44 +0300)
commite3169126793f43be3d840874ffb3935a51097001
tree561a32f301cdb77cc09e82fade829857b2bf02ab
parent139b011ab81ccea1d51f09e0261a1c390115c6ff
sd-icmp6-nd: Add Router Solicitation and Advertisement support

Provide functions to bind the ICMPv6 socket to the approriate interface
and set multicast sending and receiving according to RFC 3493, section
5.2. and RFC 3542, sections 3. and 3.3. Filter out all ICMPv6 messages
except Router Advertisements for the socket in question according to
RFC 3542, section 3.2.

Send Router Solicitations to the all routers multicast group as
described in RFC 4861, section 6. and act on the received Router
Advertisments according to section 6.3.7.

Implement a similar API for ICMPv6 handling as is done for DHCPv4 and
DHCPv6.
Makefile.am
src/libsystemd-network/dhcp6-internal.h [new file with mode: 0644]
src/libsystemd-network/dhcp6-network.c [new file with mode: 0644]
src/libsystemd-network/sd-icmp6-nd.c [new file with mode: 0644]
src/systemd/sd-icmp6-nd.h [new file with mode: 0644]