[gPXE-devel] [PATCH 06/31] [ipv6] function prototype for inet6_ntoa

matthew at theiselins.net matthew at theiselins.net
Fri Jul 8 10:28:15 EDT 2011


From: Matthew Iselin <matthew at theiselins.net>

Signed-off-by: Matthew Iselin <matthew at theiselins.net>
---
 src/include/gpxe/in.h  |    7 +------
 src/include/gpxe/ip6.h |    1 +
 2 files changed, 2 insertions(+), 6 deletions(-)

diff --git a/src/include/gpxe/in.h b/src/include/gpxe/in.h
index c313717..c1f9fac 100644
--- a/src/include/gpxe/in.h
+++ b/src/include/gpxe/in.h
@@ -93,12 +93,7 @@ struct sockaddr_in6 {
 extern int inet_aton ( const char *cp, struct in_addr *inp );
 extern char * inet_ntoa ( struct in_addr in );
 
-/* Adding the following for IP6 support
- *
-
 extern int inet6_aton ( const char *cp, struct in6_addr *inp );
-extern char * inet6_ntoa ( struct in_addr in );
-
- */
+extern char * inet6_ntoa ( struct in6_addr in );
 
 #endif	/* _GPXE_IN_H */
diff --git a/src/include/gpxe/ip6.h b/src/include/gpxe/ip6.h
index edb2863..3983e52 100644
--- a/src/include/gpxe/ip6.h
+++ b/src/include/gpxe/ip6.h
@@ -70,6 +70,7 @@ struct net_protocol;
 extern struct net_protocol ipv6_protocol;
 extern struct tcpip_net_protocol ipv6_tcpip_protocol;
 extern char * inet6_ntoa ( struct in6_addr in6 );
+extern int inet6_aton ( const char *cp, struct in6_addr *inp );
 
 extern int add_ipv6_address ( struct net_device *netdev,
 			      struct in6_addr prefix, int prefix_len,
-- 
1.7.2.5



More information about the gPXE-devel mailing list