Kernel functions net_protocol_release(9F) NAME net_protocol_release - indicate that a reference to a net- work protocol is no longer required SYNOPSIS #include int net_protocol_release(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 call is used to indicate to the network infor- mation framework that the caller is no longer interested in any knowledge about the network protocol to which the param- eter being passed through applies to. RETURN VALUES This function returns -1 if the value passed in is unknown to this framework, 0 if it is successful and 1 to indicate that it could not succeed because net_protocol_release has been called too many times. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Committed | |_____________________________|_____________________________| SEE ALSO net_protocol_lookup(9f), net_protocol_walk(9f) SunOS 5.10 Last change: 25 March 2008 1