MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                netprotocolwalk(9F)



NAME
     netprotocolwalk - step through the list of registered net-
     work protocols

SYNOPSIS
     #include 

     netdatat *netprotocolwalk(netdatat net);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

PARAMETERS
     net    value   returned   from   a   successful   call    to
            netprotocollookup(9F).


DESCRIPTION
     The netprotocolwalk() function walks through  all  of  the
     network protocols that have been registered with this inter-
     face. The initial call to netprotocolwalk() should be made
     by  passing in NUL as the value for net. When this function
     returns NUL, the end of the list has been reached.


     A caller of netprotocolwalk() is required to walk  through
     the entire list of network protocols, until NUL is returned
     or, when finished with using the  value  returned,  pass  it
     into a call to netprotocolrelease(9F).

RETURN VALUES
     The netprotocolwalk() function returns NUL when  the  end
     of  the  list  is returned. Otherwise, it returns a non-NUL
     value as a token for being passed into other function  calls
     within this interface.

CONTEXT
     The netprotocolwalk() function may be  called  from  user,
     kernel, or interrupt context.

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











SunOS 5.11           Last change: 1 May 2008                    1






Kernel Functions for Drivers                netprotocolwalk(9F)



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    
     Interface Stability          Committed                   
    


SEE ALSO
     netprotocollookup(9F),  netprotocolrelease(9F),   attri-
     butes(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 ™