summaryrefslogtreecommitdiffstats
path: root/share/man/man4/ng_tee.4
diff options
context:
space:
mode:
authorjulian <julian@FreeBSD.org>2004-05-29 07:21:46 +0000
committerjulian <julian@FreeBSD.org>2004-05-29 07:21:46 +0000
commit14e22ae790f0931cfc80145d29b654521b3a3a10 (patch)
tree67609d746180f3ac3b3714e8dcaba00a354b8f02 /share/man/man4/ng_tee.4
parent9fc4e00a1cc5858d10a3b68a9861213b649ccb04 (diff)
downloadFreeBSD-src-14e22ae790f0931cfc80145d29b654521b3a3a10.zip
FreeBSD-src-14e22ae790f0931cfc80145d29b654521b3a3a10.tar.gz
Add a new netgraph method to allow restoration of some
behaviour lost in the change from 4.x style netgraph tee nodes. Alter the tee node to use the new method. Document the behaviour. Step the ABI version number... old netgraph klds will refuse to load. Better than just crashing. Submitted by: Gleb Smirnoff <glebius@cell.sick.ru>
Diffstat (limited to 'share/man/man4/ng_tee.4')
-rw-r--r--share/man/man4/ng_tee.414
1 files changed, 12 insertions, 2 deletions
diff --git a/share/man/man4/ng_tee.4 b/share/man/man4/ng_tee.4
index b327ff9..63144e0 100644
--- a/share/man/man4/ng_tee.4
+++ b/share/man/man4/ng_tee.4
@@ -35,7 +35,7 @@
.\" $FreeBSD$
.\" $Whistle: ng_tee.8,v 1.4 1999/01/25 23:46:27 archie Exp $
.\"
-.Dd January 19, 1999
+.Dd May 28, 2004
.Dt NG_TEE 4
.Os
.Sh NAME
@@ -108,9 +108,19 @@ Get statistics, returned as a
Clear statistics.
.El
.Sh SHUTDOWN
-This node shuts down upon receipt of a
+This node shuts down upon receipt of an
.Dv NGM_SHUTDOWN
control message, or when all hooks have been disconnected.
+If both
+.Dv right
+and
+.Dv left
+hooks are present, node removes itself from the chain gently,
+connecting
+.Dv right
+and
+.Dv left
+together.
.Sh SEE ALSO
.Xr tee 1 ,
.Xr netgraph 4 ,
OpenPOWER on IntegriCloud