[ipv6] Expose IPv6 settings acquired through NDP
authorMichael Brown <mcb30@ipxe.org>
Mon, 18 Jul 2016 14:13:10 +0000 (15:13 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 18 Jul 2016 23:13:00 +0000 (00:13 +0100)
commit3b783d7fd2be053438c4fa968359f01b3c7ece8b
treed62167fcb7bce84020a41fbc3c40e5168e2dbb47
parentee54ab5be6c46adae18fc215b66d629796328b04
[ipv6] Expose IPv6 settings acquired through NDP

Expose the IPv6 address (or prefix) as ${ip6}, the prefix length as
${len6}, and the router address as ${gateway6}.

Originally-implemented-by: Hannes Reinecke <hare@suse.de>
Originally-implemented-by: Marin Hannache <git@mareo.fr>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/include/ipxe/settings.h
src/net/ipv6.c
src/net/ndp.c