summaryrefslogtreecommitdiffstats
path: root/src/config
diff options
context:
space:
mode:
authorMichael Brown2013-08-26 15:23:54 +0200
committerMichael Brown2013-09-03 17:30:46 +0200
commitf7f3087cc542d76f19ba6362b0837dcf1baf86b8 (patch)
tree8d2a920c16a2255f9e9ac57d2b333d8d01edc556 /src/config
parent[ipv4] Abstract out protocol-specific portions of "route" command (diff)
downloadipxe-f7f3087cc542d76f19ba6362b0837dcf1baf86b8.tar.gz
ipxe-f7f3087cc542d76f19ba6362b0837dcf1baf86b8.tar.xz
ipxe-f7f3087cc542d76f19ba6362b0837dcf1baf86b8.zip
[ipv6] Replace IPv6 stack
Replace the existing partially-implemented IPv6 stack with a fresh implementation. This implementation is not yet complete. The IPv6 transmit and receive datapaths are functional (including fragment reassembly and parsing of arbitrary extension headers). NDP neighbour solicitations and advertisements are supported. ICMPv6 echo is supported. At present, only link-local addresses may be used, and there is no way to specify an IPv6 address as part of a URI (either directly or via a DNS lookup). Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/config')
-rw-r--r--src/config/config.c3
-rw-r--r--src/config/config_route.c3
-rw-r--r--src/config/general.h1
3 files changed, 7 insertions, 0 deletions
diff --git a/src/config/config.c b/src/config/config.c
index f063523c..6596e951 100644
--- a/src/config/config.c
+++ b/src/config/config.c
@@ -101,6 +101,9 @@ REQUIRE_OBJECT ( debugcon );
#ifdef NET_PROTO_IPV4
REQUIRE_OBJECT ( ipv4 );
#endif
+#ifdef NET_PROTO_IPV6
+REQUIRE_OBJECT ( ipv6 );
+#endif
/*
* Drag in all requested PXE support
diff --git a/src/config/config_route.c b/src/config/config_route.c
index c31d2dae..33e18cdd 100644
--- a/src/config/config_route.c
+++ b/src/config/config_route.c
@@ -22,3 +22,6 @@ FILE_LICENCE ( GPL2_OR_LATER );
#ifdef NET_PROTO_IPV4
REQUIRE_OBJECT ( route_ipv4 );
#endif
+#ifdef NET_PROTO_IPV6
+REQUIRE_OBJECT ( route_ipv6 );
+#endif
diff --git a/src/config/general.h b/src/config/general.h
index ae14ed3d..2e93efde 100644
--- a/src/config/general.h
+++ b/src/config/general.h
@@ -40,6 +40,7 @@ FILE_LICENCE ( GPL2_OR_LATER );
*/
#define NET_PROTO_IPV4 /* IPv4 protocol */
+#undef NET_PROTO_IPV6 /* IPv6 protocol */
#undef NET_PROTO_FCOE /* Fibre Channel over Ethernet protocol */
/*