| Main index | Section 4 | Options |
#include <netgraph/ng_device.h>
The first node is created as /dev/ngd0, subsequent nodes are /dev/ngd1, /dev/ngd2, etc.
| NGM_DEVICE_GET_DEVNAME | |
| Returns the device name corresponding to the node. | |
| NGM_DEVICE_ETHERALIGN | |
| Apply the system ETHER_ALIGN offset to mbufs sent out the node's hook, if running on an architecture that requires strict alignment. Use this option when the data being injected via the device node ultimately ends up being fed into the protocol stack as ethernet packets (e.g., via an ng_eiface(4) node). | |
| NG_DEVICE (4) | November 8, 2021 |
| Main index | Section 4 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | If you have a problem and you think awk(1) is the solution, then you have two problems. | ” |
| — David Tilbrook | ||