Kernel functions net_zoneidtonetid(9F) NAME net_zoneidtonetid - map a zoneid_t identifier to a netid_t SYNOPSIS #include netid_t net_zoneidtonetid(const zoneid_t zone); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS zone valid zoneid_t that refers to a running zone. DESCRIPTION This function is used to map the given zoneid_t (used to represent a zone that is currently running) into a netid_t that is associated with the IP instance supporting network functions for that zone. RETURN VALUES This function returns -1 if there is no mapping for the zoneid_t to a netid_t, else it returns the netid_t currently used by the zoneid_t. For zones that are using a shared IP instance, the netid_t for the instance owned by 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