*** UNIX MANUAL PAGE BROWSER ***

A Nergahak database for man pages research.

Navigation

Directory Browser

1Browse 4.4BSD4.4BSD
1Browse Digital UNIXDigital UNIX 4.0e
1Browse FreeBSDFreeBSD 14.3
1Browse MINIXMINIX 3.4.0rc6-d5e4fc0
1Browse NetBSDNetBSD 10.1
1Browse OpenBSDOpenBSD 7.7
1Browse UNIX v7Version 7 UNIX
1Browse UNIX v10Version 10 UNIX

Manual Page Search

Manual Page Result

0 Command: ng_tee | Section: 4 | Source: FreeBSD | File: ng_tee.4.gz
NG_TEE(4) FreeBSD Kernel Interfaces Manual NG_TEE(4) NAME ng_tee - netgraph ``tee'' node type SYNOPSIS #include <sys/types.h> #include <netgraph/ng_tee.h> DESCRIPTION The tee node type has a purpose similar to the tee(1) command. Tee nodes are useful for debugging or "snooping" on a connection between two netgraph nodes. Tee nodes have four hooks, right, left, right2left, and left2right. All data received on right is sent unmodified to both hooks left and right2left. Similarly, all data received on left is sent unmodified to both right and left2right. Packets may also be received on right2left and left2right; if so, they are forwarded unchanged out hooks right and left, respectively. HOOKS This node type supports the following hooks: right The connection to the node on the right. left The connection to the node on the left. right2left Tap for right to left traffic. left2right Tap for left to right traffic. CONTROL MESSAGES This node type supports the generic control messages, plus the following. NGM_TEE_GET_STATS (getstats) Get statistics, returned as a struct ng_tee_stats. NGM_TEE_CLR_STATS (clrstats) Clear statistics. SHUTDOWN This node shuts down upon receipt of an NGM_SHUTDOWN control message, or when all hooks have been disconnected. If both right and left hooks are present, node removes itself from the chain gently, connecting right and left together. SEE ALSO tee(1), netgraph(4), ngctl(8) HISTORY The ng_tee node type was implemented in FreeBSD 4.0. AUTHORS Julian Elischer <[email protected]> FreeBSD 14.1-RELEASE-p8 May 28, 2004 FreeBSD 14.1-RELEASE-p8

Navigation Options