Kernel functions net_lookup(9F) NAME net_lookup - locate an implementation of a network layer protocol SYNOPSIS #include net_data_t *net_lookup(const char *protocol, zoneid_t zoneid); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS family name of the network protocol to find. zoneid The zoneid that corresponds to the IP Instance in which the lookup happens. Valid values are GLOBAL_ZONEID for the shared IP instance, and the zoneid for an exclusive-IP zone. DESCRIPTION This function attempts to locate a data structure that defines what capabilities it is exporting through this interface. The value returned by this call is guaranteed to be valid until it is passed into a call to net_release, after which it should no longer be treated as valid. RETURN VALUE This function returns NULL if it could not find any knowledge about the network protocol referenced and other- wise returns a value that can be used with other calls in this framework. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Unstable | |_____________________________|_____________________________| SEE ALSO net_release(9f) SunOS 5.10 Last change: DD Month 2005 1