MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Data Structures for Drivers                      netinjectt(9S)



NAME
     netinjectt - structure for describing how  to  transmit  a
     packet

SYNOPSIS
     #include 


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

DESCRIPTION
     The netinjectt data structure  passes  information  in  to
     netinject about how to transmit a packet. Transmit includes
     sending the packet up into the system as well as out of it.

STRUCTURE MEMBERS
        mblkt                  *nipacket;   /* start of the packet */
         struct sockaddrstorage niaddr;      /* address of next hop */
         phyift                niphysical;  /* network interface to use */


     nipacket      Pointer to the first the mblkt  data  struc-
                    ture that makes up this packet.


     niaddr        This field is only required to be initialized
                    if  NIDIRECTOUT  is  being used to transmit
                    the packet. The sockaddrstorage  field  must
                    be  set  to  indicate whether the destination
                    address contained in the  structure  is  IPv4
                    (cast  niaddr to struct sockaddrin) or IPv6
                    (cast niaddr to struct sockaddrin6).


     niphysical    The physical interface where the packet  will
                    be injected.


ATRIBUTES
     See attributes(5) for descriptions of the  following  attri-
     butes:













SunOS 5.11           Last change: 1 May 2008                    1






Data Structures for Drivers                      netinjectt(9S)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    


SEE ALSO
     netinject(9F), netinfo(9F), attributes(5)














































SunOS 5.11           Last change: 1 May 2008                    2



OpenSolaris man pages main menu

Contact us      |       About us      |       Term of use      |       Copyright © 2000-2010 MyWebUniversity.com ™