summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/linkaddr.3
diff options
context:
space:
mode:
authorbms <bms@FreeBSD.org>2007-02-28 21:18:38 +0000
committerbms <bms@FreeBSD.org>2007-02-28 21:18:38 +0000
commit0738a9d791c7cf11ec35c5f1b495c0530c978447 (patch)
tree5795b2406f62ac8534a87ecbbb9b833c90045556 /lib/libc/net/linkaddr.3
parent2010e1d527af4d5a25b9e8dd38e95b0b3d1a214c (diff)
downloadFreeBSD-src-0738a9d791c7cf11ec35c5f1b495c0530c978447.zip
FreeBSD-src-0738a9d791c7cf11ec35c5f1b495c0530c978447.tar.gz
Nuke ascii2addr() and addr2ascii(). They have no consumers anywhere
in FreeBSD, and originated from INRIA IPv6. Stub out netstat reference to addr2ascii() I mistakenly introduced. Update misleading man page sections. Merge NetBSD's getnameinfo() AF_LINK extensions for a portable way to print link-layer addresses given a sockaddr_dl(), minus the IEEE 1394 bits which don't map directly to our code. Obtained from: NetBSD (getnameinfo.c) Discussed on: current (March 2006)
Diffstat (limited to 'lib/libc/net/linkaddr.3')
-rw-r--r--lib/libc/net/linkaddr.310
1 files changed, 2 insertions, 8 deletions
diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3
index 7fa4eeb..4387675 100644
--- a/lib/libc/net/linkaddr.3
+++ b/lib/libc/net/linkaddr.3
@@ -31,7 +31,7 @@
.\" From: @(#)linkaddr.3 8.1 (Berkeley) 7/28/93
.\" $FreeBSD$
.\"
-.Dd June 17, 1996
+.Dd February 28, 2007
.Dt LINK_ADDR 3
.Os
.Sh NAME
@@ -92,11 +92,6 @@ Thus
.Li le0:8.0.9.13.d.30
represents an ethernet address
to be transmitted on the first Lance ethernet interface.
-.Pp
-The direct use of these functions is deprecated in favor of the
-.Xr addr2ascii 3
-interface; however, portable programs cannot rely on the latter as it is
-not yet widely implemented.
.Sh RETURN VALUES
The
.Fn link_ntoa
@@ -109,8 +104,7 @@ has no return value.
(See
.Sx BUGS . )
.Sh SEE ALSO
-.Xr addr2ascii 3
-.\" .Xr iso 4
+.Xr getnameinfo 3
.Sh HISTORY
The
.Fn link_addr
OpenPOWER on IntegriCloud