sd-radv: Add Router Advertisement prefix handling
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Fri, 12 May 2017 13:48:27 +0000 (16:48 +0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Mon, 15 May 2017 11:49:50 +0000 (14:49 +0300)
commit04473969ef07c953415d8ce7964f1e9664e96a6c
tree185362cb1e10c8813b2cc8e34c7a7a8a80f13f49
parent5502d46f73ed3137c8324f1fb59c378cbd680285
sd-radv: Add Router Advertisement prefix handling

Define Router Advertisement prefix structure. Add the Prefix
Information ICMPv6 option defined in RFC 4861 to the prefix
information structure, as it will simplify sending a Prefix
Information option later on. In order to handle endianness
correctly, the structure is redefined here instead of using
the one in netinet/icmp6.h.

Add functions to create and modify prefix information and set
default values as defined in RFC 4861, Section 6.2.1.
Makefile.am
src/libsystemd-network/radv-internal.h [new file with mode: 0644]
src/libsystemd-network/sd-radv.c [new file with mode: 0644]
src/systemd/sd-radv.h [new file with mode: 0644]