MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Data Structures for Drivers                    netinstancet(9S)



NAME
     netinstancet - packet event structure  passed  through  to
     hooks

SYNOPSIS
     #include 


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

DESCRIPTION
     The netinstancet data structure defines  a  collection  of
     instances  to  be  called when relevant events happen within
     IP. The value  returned  by  the  nincreate()  function  is
     stored  internally and passed back to both the nindestroy()
     and ninshutdown() functions as  the  second  argument.  The
     netidt  passed  through  to  each  function  can be used to
     uniquely identify each instance of IP.

STRUCTURE MEMBERS
           char    *ninname;
            void    *(*nincreate)(const netidt);
            void    (*nindestroy)(const netidt, void *);
            void    (*ninshutdown)(const netidt, void *);


     ninname        Name of the owner of the instance.


     nincreate      Function to be called when a new instance of
                     IP is created.


     nindestroy     Function to be called when an instance of IP
                     is being destroyed.


     ninshutdown    Function to be called when an instance of IP
                     is  being shutdown. ninshutdown() is called
                     before nindestroy() is called.


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









SunOS 5.11           Last change: 1 May 2008                    1






Data Structures for Drivers                    netinstancet(9S)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Interface Stability          Committed                   
    


SEE ALSO
     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 ™