netgraph discard node type
hole node type silently discards all data and
control messages it receives. This type is used for testing and debugging.
ng_hole node accepts any request to connect,
regardless of the hook name, as long as the name is unique.
This node type supports the generic control messages, plus the following:
- This command takes an ASCII string argument, the hook name, and returns
the statistics associated with the hook as a struct
- This command takes an ASCII string argument, the hook name, and clears the
statistics associated with the hook.
- This command is identical to
except that the statistics are also atomically cleared.
This node shuts down upon receipt of a
control message, or when all hooks have been disconnected.
ng_hole node type was implemented in