Query: net_inject_t
OS: opensolaris
Section: 9s
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
net_inject_t(9S) Data Structures for Drivers net_inject_t(9S)NAMEnet_inject_t - structure for describing how to transmit a packetSYNOPSIS#include <sys/neti.h>INTERFACE LEVELSolaris DDI specific (Solaris DDI).DESCRIPTIONThe 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.STRUCTURE MEMBERSmblk_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 Pointer to the first the mblk_t data structure that makes up this packet. ni_addr This field is only required to be initialized if NI_DIRECT_OUT is being used to transmit the packet. The sockaddr_storage field must be set to indicate whether the destination address contained in the structure is IPv4 (cast ni_addr to struct sockaddr_in) or IPv6 (cast ni_addr to struct sockaddr_in6). ni_physical The physical interface where the packet will be injected.ATTRIBUTESSee attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Committed | +-----------------------------+-----------------------------+SEE ALSOnet_inject(9F), netinfo(9F), attributes(5) SunOS 5.11 1 May 2008 net_inject_t(9S)
Related Man Pages |
---|
hook_pkt_event(9s) - opensolaris |
hook_nic_event(9s) - opensolaris |
net_instance_alloc(9f) - opensolaris |
net_instance_t(9s) - opensolaris |
scsi_sync_pkt(9f) - debian |
Similar Topics in the Unix Linux Community |
---|
Replacement for netinfo |
Need help with configuring large packet size on Solaris 7 / e6500 |
iptable forward packet |
Solaris ping report failed packet script |