Kernel functions net_netidtozoneid(9F) NAME net_netidtozoneid - map a netid_t identifier to a zoneid_t SYNOPSIS #include zoneid_t net_netidtozoneid(const netid_t net); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS net valid netid_t that refers to an existing IP instance. DESCRIPTION This function is used to map the given netid_t (used to represent an instance of IP) into the matching zoneid_t that is associated with it. RETURN VALUES This function returns -1 if there is no mapping for the netid_t to a zoneid_t, else it returns the zoneid_t currently associated with a netid_t. For shared stack zones, the zoneid_t for the global zone will be returned. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Committed | |_____________________________|_____________________________| SEE ALSO net_netidtozoneid(9f) SunOS 5.10 Last change: 25 March 2008 1