Kernel Functions for Drivers netprotocolrelease(9F)
NAME
netprotocolrelease - indicate that a reference to a net-
work protocol is no longer required
SYNOPSIS
#include
int netprotocolrelease(netdatat *net);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
net value returned from a successful call to
netprotocollookup(9F).
DESCRIPTION
The netprotocolrelease() function indicates to the network
information framework that the caller is no longer
interested in any knowledge about the network protocol to
which the parameter being passed through applies.
RETURN VALUES
The netprotocolrelease() function returns:
-1 The value passed in is unknown to this framework.
0 Successful completion.
1 Unsuccessful because this function has been called too
many times.
CONTEXT
The netprotocolrelease() function may be called from user,
kernel, or interrupt context.
ATRIBUTES
See attributes(5) for descriptions of the following attri-
butes:
SunOS 5.11 Last change: 1 May 2008 1
Kernel Functions for Drivers netprotocolrelease(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
netprotocollookup(9F), netprotocolwalk(9F), attri-
butes(5)
SunOS 5.11 Last change: 1 May 2008 2
|