net_inject_t(9s) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

net_inject_t(9s)

Kernel & Driver Data Structures                               net_inject_t(9S)



NAME
       net_inject_t - structure for describing how to transmit a packet

SYNOPSIS
       #include <sys/neti.h>

INTERFACE LEVEL
       Solaris DDI specific (Solaris DDI).

DESCRIPTION
       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.

STRUCTURE MEMBERS
          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      Pointer  to  the  first  the  mblk_t data structure that
                      makes up this packet.


       ni_addr        This  field   is   required   to   be   initialized   if
                      NI_DIRECT_OUT  or  NI_QUEUE_PBR_OUT  is  being  used  to
                      transmit the packet. The sockaddr_storage field must  be
                      set  to  indicate  whether  the destination address con‐
                      tained in the structure is IPv4 (cast ni_addr to  struct
                      sockaddr_in)  or  IPv6  (cast  ni_addr  to  struct sock‐
                      addr_in6).


       ni_physical    The  physical  interface  where  the  packet   will   be
                      injected.


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:


       tab()  box; cw(2.75i) |cw(2.75i) lw(2.75i) |lw(2.75i) ATTRIBUTE TYPEAT‐
       TRIBUTE VALUE _ Interface StabilityCommitted


SEE ALSO
       attributes(7), net_inject(9F), netinfo(9F)



Oracle Solaris 11.4               5 Aug 2015                  net_inject_t(9S)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3