summaryrefslogtreecommitdiffstats
path: root/lib/libc/net/linkaddr.3
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/net/linkaddr.3')
-rw-r--r--lib/libc/net/linkaddr.315
1 files changed, 11 insertions, 4 deletions
diff --git a/lib/libc/net/linkaddr.3 b/lib/libc/net/linkaddr.3
index 54e3206..6999add 100644
--- a/lib/libc/net/linkaddr.3
+++ b/lib/libc/net/linkaddr.3
@@ -32,9 +32,10 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" @(#)linkaddr.3 8.1 (Berkeley) 7/28/93
+.\" From: @(#)linkaddr.3 8.1 (Berkeley) 7/28/93
+.\" $Id$
.\"
-.Dd July 28, 1993
+.Dd June 17, 1996
.Dt LINK_ADDR 3
.Os BSD 4.4
.Sh NAME
@@ -75,7 +76,7 @@ may contain
an optional network interface identifier of the form
.Dq "name unit-number" ,
suitable for the first argument to
-.Xr ifconfig 4 ,
+.Xr ifconfig 8 ,
followed in all cases by a colon and
an interface address in the form of
groups of hexadecimal digits
@@ -93,6 +94,11 @@ 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
.Fn link_ntoa
always returns a null terminated string.
@@ -101,7 +107,8 @@ has no return value.
(See
.Sx BUGS . )
.Sh SEE ALSO
-.Xr iso 4 ,
+.Xr addr2ascii 3
+.\" .Xr iso 4
.Sh HISTORY
The
.Fn link_addr
OpenPOWER on IntegriCloud