summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_bridge.4
diff options
context:
space:
mode:
authorzec <zec@FreeBSD.org>2010-05-05 22:06:05 +0000
committerzec <zec@FreeBSD.org>2010-05-05 22:06:05 +0000
commitfc65bde07d9854848d689e2c1fefa55448b3880a (patch)
treea12bc1a8023da35bc5ab9ba5c3811bbb1dcca19d /share/man/man4/ng_bridge.4
parentf3856c6cf2fb115757967b7e32bdeb21bd27d1ee (diff)
downloadFreeBSD-src-fc65bde07d9854848d689e2c1fefa55448b3880a.zip
FreeBSD-src-fc65bde07d9854848d689e2c1fefa55448b3880a.tar.gz
Add an optional "persistent" flag to ng_hub and ng_bridge, which if set,
disables automatic node shutdown when the last hook gets disconnected. Reviewed by: julian
Diffstat (limited to 'share/man/man4/ng_bridge.4')
-rw-r--r--share/man/man4/ng_bridge.410
1 files changed, 8 insertions, 2 deletions
diff --git a/share/man/man4/ng_bridge.4 b/share/man/man4/ng_bridge.4
index 3b1dd71..8884e33 100644
--- a/share/man/man4/ng_bridge.4
+++ b/share/man/man4/ng_bridge.4
@@ -34,7 +34,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd August 31, 2000
+.Dd May 5, 2010
.Dt NG_BRIDGE 4
.Os
.Sh NAME
@@ -181,11 +181,17 @@ but also atomically clears the statistics as well.
.It Dv NGM_BRIDGE_GET_TABLE
Returns the current host mapping table used to direct packets, in a
.Dv "struct ng_bridge_host_ary" .
+.It Dv NGM_BRIDGE_SET_PERSISTENT
+This command sets the persistent flag on the node, and takes no arguments.
.El
.Sh SHUTDOWN
This node shuts down upon receipt of a
.Dv NGM_SHUTDOWN
-control message, or when all hooks have been disconnected.
+control message, or when all hooks have been disconnected. Setting the
+persistent flag via a
+.Dv NGM_BRIDGE_SET_PERSISTENT
+control message disables automatic node shutdown when the last hook gets
+disconnected.
.Sh FILES
.Bl -tag -width XXXXXXXX -compact
.It Pa /usr/share/examples/netgraph/ether.bridge
OpenPOWER on IntegriCloud