diff options
author | Michael Brown | 2013-09-11 05:26:39 +0200 |
---|---|---|
committer | Michael Brown | 2013-09-11 12:27:13 +0200 |
commit | a9fa0d5f2bd5254464f63a7312857fcec83bf37f (patch) | |
tree | 53ff15f22819b38c29219ed1a76513040f07bd2d /src/include/ipxe/in.h | |
parent | [tcp] Reduce path MTU to 1280 bytes (diff) | |
download | ipxe-a9fa0d5f2bd5254464f63a7312857fcec83bf37f.tar.gz ipxe-a9fa0d5f2bd5254464f63a7312857fcec83bf37f.tar.xz ipxe-a9fa0d5f2bd5254464f63a7312857fcec83bf37f.zip |
[ipv6] Add inet6_aton()
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include/ipxe/in.h')
-rw-r--r-- | src/include/ipxe/in.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ipxe/in.h b/src/include/ipxe/in.h index a1821b1f..a37784e2 100644 --- a/src/include/ipxe/in.h +++ b/src/include/ipxe/in.h @@ -120,6 +120,7 @@ struct sockaddr_in6 { extern int inet_aton ( const char *cp, struct in_addr *inp ); extern char * inet_ntoa ( struct in_addr in ); -extern char * inet6_ntoa ( const struct in6_addr *in6 ); +extern int inet6_aton ( const char *string, struct in6_addr *in ); +extern char * inet6_ntoa ( const struct in6_addr *in ); #endif /* _IPXE_IN_H */ |