Kernel functions net_getnetid(9F) NAME net_getnetid - returns the instance identifier SYNOPSIS #include netid_t net_getnetid(const net_data_t net); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS net value returned from a successful call to net_protocol_lookup. DESCRIPTION This function returns the instance identifier for the proto- col instance returned via a call to net_protocol_lookup. RETURN VALUES The value of the instance identifier. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Committed | |_____________________________|_____________________________| SEE ALSO net_protocol_lookup(9f) SunOS 5.10 Last change: 25 March 2008 1