NET_INJECT_T(9S) | Data Structures for Drivers | NET_INJECT_T(9S) |
net_inject_t - structure for describing how to transmit a packet
#include <sys/neti.h>
illumos DDI specific (illumos DDI).
The net_inject_t data structure passes information in to net_inject about how to transmit a packet. Transmit includes sending the packet up into the system as well as out of it.
mblk_t *ni_packet; /* start of the packet */
struct sockaddr_storage ni_addr; /* address of next hop */
phy_if_t ni_physical; /* network interface to use */
ni_packet
ni_addr
ni_physical
See attributes(7) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
Interface Stability | Committed |
May 1, 2008 | OmniOS |