netgraph ``tee'' node type
tee node type has a purpose similar to the
Tee nodes are useful
for debugging or “snooping” on a connection between two netgraph
Tee nodes have four hooks,
All data received on
right is sent unmodified to
right2left. Similarly, all data received on
left is sent unmodified to both
Packets may also be received on
left2right; if so, they are forwarded unchanged
This node type supports the following hooks:
- The connection to the node on the right.
- The connection to the node on the left.
- Tap for right to left traffic.
- Tap for left to right traffic.
This node type supports the generic control messages, plus the following.
- Get statistics, returned as a
- Clear statistics.
This node shuts down upon receipt of an
control message, or when all hooks have been disconnected. If both
left hooks are
present, node removes itself from the chain gently, connecting
ng_tee node type was implemented in