From 99af251656cc22250c7bbe0d027b71508f9a3fb2 Mon Sep 17 00:00:00 2001 From: Gleb Smirnoff Date: Mon, 14 Feb 2005 17:43:42 +0000 Subject: [PATCH] Document NGM_ETHER_DETACH functionality. --- share/man/man4/ng_ether.4 | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4 index 722779f2bedd..e97709d65034 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