summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1996-06-13 20:45:05 +0000
committerwollman <wollman@FreeBSD.org>1996-06-13 20:45:05 +0000
commitab56e8b192f1b86fc9601d31ae4f9a1f0ab4a9d8 (patch)
treea635ddac80f364e7231486e0658e824d279d1cfc /lib
parentfffbd5d72119058c49e9a9072ce471d48c3cb30c (diff)
downloadFreeBSD-src-ab56e8b192f1b86fc9601d31ae4f9a1f0ab4a9d8.zip
FreeBSD-src-ab56e8b192f1b86fc9601d31ae4f9a1f0ab4a9d8.tar.gz
Add an independent implementation of addr2ascii(3) and ascii2addr(3)
following the API of the INRIA IPv6 implementation.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/net/Makefile.inc7
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/libc/net/Makefile.inc b/lib/libc/net/Makefile.inc
index 4c9bd23..a1cb045 100644
--- a/lib/libc/net/Makefile.inc
+++ b/lib/libc/net/Makefile.inc
@@ -3,7 +3,8 @@
# machine-independent net sources
.PATH: ${.CURDIR}/${MACHINE}/net ${.CURDIR}/net
-SRCS+= gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c \
+SRCS+= addr2ascii.c ascii2addr.c \
+ gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c \
getnetbydns.c getnetbyht.c getnetbynis.c getnetnamadr.c \
getproto.c getprotoent.c getprotoname.c getservbyname.c \
getservbyport.c getservent.c herror.c inet_addr.c inet_lnaof.c \
@@ -17,12 +18,14 @@ SRCS+= gethostbydns.c gethostbyht.c gethostbynis.c gethostnamadr.c \
# machine-dependent net sources
.include "${.CURDIR}/${MACHINE}/net/Makefile.inc"
-MAN3+= net/byteorder.3 net/ethers.3 net/gethostbyname.3 net/getnetent.3 \
+MAN3+= net/addr2ascii.3 \
+ net/byteorder.3 net/ethers.3 net/gethostbyname.3 net/getnetent.3 \
net/getprotoent.3 net/getservent.3 net/inet.3 net/linkaddr.3 \
net/rcmd.3 net/resolver.3
# not installed: net/ns.3 net/iso_addr.3
+MLINKS+=addr2ascii.3 ascii2addr.3
MLINKS+=byteorder.3 htonl.3 byteorder.3 htons.3 byteorder.3 ntohl.3 \
byteorder.3 ntohs.3
MLINKS+=ethers.3 ether_line.3 ethers.3 ether_aton.3 ethers.3 ether_ntoa.3 \
OpenPOWER on IntegriCloud