MyWebUniversity.com Home Page
 



OpenSolaris man pages main menu


Kernel Functions for Drivers                 netnetidtozonid(9F)



NAME
     netnetidtozonid - map a netidt structure identifier  to  a
     zoneidt structure

SYNOPSIS
     #include 

     zoneidt netnetidtozonid(const netidt net);


INTERFACE LEVEL
     Solaris DI specific (Solaris DI).

PARAMETERS
     net    valid netidt structure that refers to an existing IP
            instance.


DESCRIPTION
     The netnetidtozonid() function maps the given netidt (used
     to  represent  an instance of IP) into the matching zoneidt
     structure that is associated with it.

RETURN VALUES
     The netnetidtozonid() function returns  -1  if  no  mapping
     took  place.  Otherwise,  it  returns the zoneidt structure
     currently associated with a netidt  structure.  For  shared
     stack  zones,  the zoneidt structure for the global zone is
     returned.

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

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



     
           ATRIBUTE TYPE               ATRIBUTE VALUE       
    
     Availability                 SUNWcsu                     
    
     Interface Stability          Committed                   
    


SEE ALSO
     netzoneidtonetid(9F), attributes(5)




SunOS 5.11           Last change: 1 May 2008                    1



OpenSolaris man pages main menu

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