diff options
author | Michael Brown <mcb30@ipxe.org> | 2013-09-11 04:26:39 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2013-09-11 11:27:13 +0100 |
commit | a9fa0d5f2bd5254464f63a7312857fcec83bf37f (patch) | |
tree | 53ff15f22819b38c29219ed1a76513040f07bd2d /src/include/ipxe/in.h | |
parent | 8dd180f165eb8cd0a8475c0fd19bd6dbf17f95d8 (diff) | |
download | ipxe-a9fa0d5f2bd5254464f63a7312857fcec83bf37f.tar.gz |
[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 a1821b1fb..a37784e2e 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 */ |