summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_ether.4
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2005-02-14 17:43:42 +0000
committerglebius <glebius@FreeBSD.org>2005-02-14 17:43:42 +0000
commitcc969e8555d0e0912936675efeb52f1e40bd889d (patch)
treeae9acd92111dc01209d7952657bab6fa8743503b /share/man/man4/ng_ether.4
parent03a2de3818d3547af96f80c072688c6fdd6c6fe1 (diff)
downloadFreeBSD-src-cc969e8555d0e0912936675efeb52f1e40bd889d.zip
FreeBSD-src-cc969e8555d0e0912936675efeb52f1e40bd889d.tar.gz
Document NGM_ETHER_DETACH functionality.
Diffstat (limited to 'share/man/man4/ng_ether.4')
-rw-r--r--share/man/man4/ng_ether.411
1 files changed, 6 insertions, 5 deletions
diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4
index 722779f..e97709d 100644
--- a/share/man/man4/ng_ether.4
+++ b/share/man/man4/ng_ether.4
@@ -34,7 +34,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd February 12, 2005
+.Dd February 14, 2005
.Dt NG_ETHER 4
.Os
.Sh NAME
@@ -55,9 +55,6 @@ module is loaded into the kernel, a node is automatically created
for each Ethernet interface in the system.
Each node will attempt to name itself with the same name
as the associated interface.
-All
-.Nm ether
-nodes are persistent for as long as the interface itself exists.
.Pp
Three hooks are supported:
.Va lower , upper ,
@@ -179,14 +176,18 @@ This control message is equivalent to using the
.Dv SIOCDELMULTI
.Xr ioctl 2
system call.
+.It Dv NGM_ETHER_DETACH Pq Li detach
+Detach from underlying Ethernet interface and shutdown node.
.El
.Sh SHUTDOWN
-This node is persistent for as long as the corresponding interface exists.
Upon receipt of the
.Dv NGM_SHUTDOWN
control message, all hooks are disconnected, promiscuous mode is disabled,
and the source address override flag is re-enabled,
but the node is not removed.
+Node can be shut down only using
+.Dv NGM_ETHER_DETACH
+control message.
If the interface itself is detached (e.g., because of PC Card removal), the
node disappears as well.
.Sh EXAMPLES
OpenPOWER on IntegriCloud