Deleted Added
full compact
ng_eiface.4 (141193) ng_eiface.4 (242997)
1.\" Copyright (c) 2004 Gleb Smirnoff
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
1.\" Copyright (c) 2004 Gleb Smirnoff
2.\" All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.

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

17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
23.\" SUCH DAMAGE.
24.\"
25.\" $FreeBSD: head/share/man/man4/ng_eiface.4 141193 2005-02-03 11:52:42Z ru $
25.\" $FreeBSD: head/share/man/man4/ng_eiface.4 242997 2012-11-13 20:41:36Z joel $
26.\"
27.Dd February 3, 2005
28.Dt NG_EIFACE 4
29.Os
30.Sh NAME
31.Nm ng_eiface
32.Nd "generic Ethernet interface netgraph node type"
33.Sh SYNOPSIS

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

58Ethernet downstream, for example, to the
59.Xr ng_vlan 4
60node.
61Packets transmitted via the interface flow out this hook.
62Similarly, packets received on the hook go to the protocol stack as
63packets received by any real Ethernet interface.
64.Sh CONTROL MESSAGES
65This node type supports the generic control messages, plus the following:
26.\"
27.Dd February 3, 2005
28.Dt NG_EIFACE 4
29.Os
30.Sh NAME
31.Nm ng_eiface
32.Nd "generic Ethernet interface netgraph node type"
33.Sh SYNOPSIS

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

58Ethernet downstream, for example, to the
59.Xr ng_vlan 4
60node.
61Packets transmitted via the interface flow out this hook.
62Similarly, packets received on the hook go to the protocol stack as
63packets received by any real Ethernet interface.
64.Sh CONTROL MESSAGES
65This node type supports the generic control messages, plus the following:
66.Bl -tag -width indent
67.It Dv NGM_EIFACE_SET Pq Li set
66.Bl -tag -width foo
67.It Dv NGM_EIFACE_SET Pq Ic set
68Set link-level address of the interface.
69Requires
70.Vt "struct ether_addr"
71as an argument.
72This message also has an
73.Tn ASCII
74version, called
75.Dq Li set ,
76which requires as an argument an
77.Tn ASCII
78string consisting of 6 colon-separated hex digits.
68Set link-level address of the interface.
69Requires
70.Vt "struct ether_addr"
71as an argument.
72This message also has an
73.Tn ASCII
74version, called
75.Dq Li set ,
76which requires as an argument an
77.Tn ASCII
78string consisting of 6 colon-separated hex digits.
79.It Dv NGM_EIFACE_GET_IFNAME Pq Li getifname
79.It Dv NGM_EIFACE_GET_IFNAME Pq Ic getifname
80Return the name of the associated interface as a
81.Dv NUL Ns -terminated
82.Tn ASCII
83string.
84.It Dv NGM_EIFACE_GET_IFADDRS
85Return the list of link-level addresses associated with the node.
86.El
87.Sh SHUTDOWN

--- 35 unchanged lines hidden ---
80Return the name of the associated interface as a
81.Dv NUL Ns -terminated
82.Tn ASCII
83string.
84.It Dv NGM_EIFACE_GET_IFADDRS
85Return the list of link-level addresses associated with the node.
86.El
87.Sh SHUTDOWN

--- 35 unchanged lines hidden ---