Manual Reference Pages - NG_EIFACE (4)
- generic Ethernet interface netgraph node type
netgraph node implements the generic Ethernet interface.
node is created, a new interface appears which is accessible via
These interfaces are named
When a node is shut down, the corresponding interface is removed,
and the interface name becomes available for reuse by future
New nodes always take the first unused interface.
node has a single hook named
which should be connected to the
Ethernet downstream, for example, to the
Packets transmitted via the interface flow out this hook.
Similarly, packets received on the hook go to the protocol stack as
packets received by any real Ethernet interface.
This node type supports the generic control messages, plus the following:
Set link-level address of the interface.
.Vt struct ether_addr
as an argument.
This message also has an
which requires as an argument an
string consisting of 6 colon-separated hex digits.
Return the name of the associated interface as a
Return the list of link-level addresses associated with the node.
This node shuts down upon receipt of a
The associated interface is removed and its name becomes
available for reuse by future
Unlike most other node types, an
go away when all hooks have been disconnected; rather, and explicit
control message is required.
node type was implemented in
.Fx 4.6 .
node type was written by
.An Vitaly V Belekhov .
This manual page was written by
.An Gleb Smirnoff .
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.