linkaddr.3 (e40f3f85d445479be03457351cca3239dff1a2d6) linkaddr.3 (010b7c6c74c7382441b6b574b2741b61c4a6bcc4)
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Donn Seeley at BSDI.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 18 unchanged lines hidden (view full) ---

27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
1.\" Copyright (c) 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" This code is derived from software contributed to Berkeley by
5.\" Donn Seeley at BSDI.
6.\"
7.\" Redistribution and use in source and binary forms, with or without
8.\" modification, are permitted provided that the following conditions

--- 18 unchanged lines hidden (view full) ---

27.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
28.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
29.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
30.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
31.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
32.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
33.\" SUCH DAMAGE.
34.\"
35.\" @(#)linkaddr.3 8.1 (Berkeley) 7/28/93
35.\" From: @(#)linkaddr.3 8.1 (Berkeley) 7/28/93
36.\" $Id$
36.\"
37.\"
37.Dd July 28, 1993
38.Dd June 17, 1996
38.Dt LINK_ADDR 3
39.Os BSD 4.4
40.Sh NAME
41.Nm link_addr ,
42.Nm link_ntoa
43.Nd elementary address specification routines for link level access
44.Sh SYNOPSIS
45.Fd #include <sys/types.h>

--- 42 unchanged lines hidden (view full) ---

88.\" .Bd -literal -offset indent
89.\" ([a-z]+[0-9]+:)?[0-9a-f]+(\e.[0-9a-f]+)*
90.\" .Ed
91.\" .Pp
92Thus
93.Li le0:8.0.9.13.d.30
94represents an ethernet address
95to be transmitted on the first Lance ethernet interface.
39.Dt LINK_ADDR 3
40.Os BSD 4.4
41.Sh NAME
42.Nm link_addr ,
43.Nm link_ntoa
44.Nd elementary address specification routines for link level access
45.Sh SYNOPSIS
46.Fd #include <sys/types.h>

--- 42 unchanged lines hidden (view full) ---

89.\" .Bd -literal -offset indent
90.\" ([a-z]+[0-9]+:)?[0-9a-f]+(\e.[0-9a-f]+)*
91.\" .Ed
92.\" .Pp
93Thus
94.Li le0:8.0.9.13.d.30
95represents an ethernet address
96to be transmitted on the first Lance ethernet interface.
97.Pp
98The direct use of these functions is deprecated in favor of the
99.Xr addr2ascii 3
100interface; however, portable programs cannot rely on the latter as it is
101not yet widely implemented.
96.Sh RETURN VALUES
97.Fn link_ntoa
98always returns a null terminated string.
99.Fn link_addr
100has no return value.
101(See
102.Sx BUGS . )
102.Sh RETURN VALUES
103.Fn link_ntoa
104always returns a null terminated string.
105.Fn link_addr
106has no return value.
107(See
108.Sx BUGS . )
103.\" .Sh SEE ALSO
109.Sh SEE ALSO
110.Xr addr2ascii 3
104.\" .Xr iso 4
105.Sh HISTORY
106The
107.Fn link_addr
108and
109.Fn link_ntoa
110functions appeared in
111.Bx 4.3 Reno .

--- 20 unchanged lines hidden ---
111.\" .Xr iso 4
112.Sh HISTORY
113The
114.Fn link_addr
115and
116.Fn link_ntoa
117functions appeared in
118.Bx 4.3 Reno .

--- 20 unchanged lines hidden ---