*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->FreeBSD man pages -> ng_tee (4)              
Title
Content
Arch
Section
 

NG_TEE(4)

Contents


NAME    [Toc]    [Back]

     ng_tee -- netgraph ``tee'' node type

SYNOPSIS    [Toc]    [Back]

     #include <netgraph/ng_tee.h>

DESCRIPTION    [Toc]    [Back]

     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    [Toc]    [Back]

     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    [Toc]    [Back]

     This node type supports the generic control messages, plus the following.

     NGM_TEE_GET_STATS
	  Get statistics, returned as a struct ng_tee_stats.

     NGM_TEE_CLR_STATS
	  Clear statistics.

SHUTDOWN    [Toc]    [Back]

     This node shuts down upon receipt of a NGM_SHUTDOWN control message, or
     when all hooks have been disconnected.

SEE ALSO    [Toc]    [Back]

      
      
     tee(1), netgraph(4), ngctl(8)

HISTORY    [Toc]    [Back]

     The ng_tee node type was implemented in FreeBSD 4.0.

AUTHORS    [Toc]    [Back]

     Julian Elischer <[email protected]>


FreeBSD 5.2.1		       January 19, 1999 		 FreeBSD 5.2.1
[ Back ]
 Similar pages
Name OS Title
ng_atm FreeBSD netgraph ATM node type
ng_UI FreeBSD UI netgraph node type
ng_uni FreeBSD netgraph UNI node type
ng_sscop FreeBSD netgraph SSCOP node type
ng_device FreeBSD device netgraph node type
ng_echo FreeBSD netgraph echo node type
ng_hole FreeBSD netgraph discard node type
ng_ether FreeBSD Ethernet netgraph node type
ng_rfc1490 FreeBSD RFC 1490 netgraph node type
ng_socket FreeBSD netgraph socket node type
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service