ng_ether_echo4
Ethernet loopback netgraph node
Usage
#include <netgraph/ng_ether_echo.h>
Overview
The ether_echo node type reflects all data and control messages back to the sender. It assumes (and does not check) that the packet is an ethernet frame, and swaps the source and destination addresses before echoing it. This node type is used for testing and debugging.
Hooks
A ether_echo node accepts any request to connect, regardless of the hook name, as long as the name is unique.
Control messages
This node type supports only the generic control messages. Any other control messages are reflected back to the sender.
Shutdown
This node shuts down upon receipt of a NGM_SHUTDOWN control message, or when all hooks have been disconnected.
Releases
39 releases since FreeBSD 8.0-RELEASE; the text changed 26 times.