ng_split4
Netgraph node to separate incoming and outgoing flows
Usage
#include <netgraph/ng_split.h>
Overview
The split node type is used to split a bidirectional stream of packets into two separate unidirectional streams of packets.
Hooks
This node type supports the following three hooks:
- in
-
Packets received on in are forwarded to mixed.
- out
-
Packets received on out will be discarded as illegal.
- mixed
-
Packets received on mixed are forwarded to out.
Control messages
This node type supports only the generic control messages.
Shutdown
This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected.