diff options
author | attilio <attilio@FreeBSD.org> | 2009-11-12 00:46:28 +0000 |
---|---|---|
committer | attilio <attilio@FreeBSD.org> | 2009-11-12 00:46:28 +0000 |
commit | 01da2349df43dda915c9e7cdd794dff6385b3751 (patch) | |
tree | 8fdf5036cd6332512462850f03f188312a671b2b /sys/netinet/in.h | |
parent | 5d65dda8ecee783683c731c300a3e781aaa929d2 (diff) | |
download | FreeBSD-src-01da2349df43dda915c9e7cdd794dff6385b3751.zip FreeBSD-src-01da2349df43dda915c9e7cdd794dff6385b3751.tar.gz |
Move inet_aton() (specular to inet_ntoa(), already present in libkern)
into libkern in order to made it usable by other modules than alias_proxy.
Obtained from: Sandvine Incorporated
Sponsored by: Sandvine Incorporated
MFC: 1 week
Diffstat (limited to 'sys/netinet/in.h')
-rw-r--r-- | sys/netinet/in.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index 1f60bce..f5fca5a 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -713,6 +713,7 @@ int in_broadcast(struct in_addr, struct ifnet *); int in_canforward(struct in_addr); int in_localaddr(struct in_addr); int in_localip(struct in_addr); +int inet_aton(const char *, struct in_addr *); /* in libkern */ char *inet_ntoa(struct in_addr); /* in libkern */ char *inet_ntoa_r(struct in_addr ina, char *buf); /* in libkern */ void in_ifdetach(struct ifnet *); |