1net_protocol_release(9F) Kernel Functions for Drivers net_protocol_release(9F)
2
3
4
6 net_protocol_release - indicate that a reference to a network protocol
7 is no longer required
8
10 #include <sys/neti.h>
11
12 int net_protocol_release(net_data_t *net);
13
14
16 Solaris DDI specific (Solaris DDI).
17
19 net value returned from a successful call to net_proto‐
20 col_lookup(9F).
21
22
24 The net_protocol_release() function indicates to the network informa‐
25 tion framework that the caller is no longer interested in any knowledge
26 about the network protocol to which the parameter being passed through
27 applies.
28
30 The net_protocol_release() function returns:
31
32 -1 The value passed in is unknown to this framework.
33
34
35 0 Successful completion.
36
37
38 1 Unsuccessful because this function has been called too many
39 times.
40
41
43 The net_protocol_release() function may be called from user, kernel,
44 or interrupt context.
45
47 See attributes(5) for descriptions of the following attributes:
48
49
50
51
52 ┌─────────────────────────────┬─────────────────────────────┐
53 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
54 ├─────────────────────────────┼─────────────────────────────┤
55 │Availability │SUNWcsu │
56 ├─────────────────────────────┼─────────────────────────────┤
57 │Interface Stability │Committed │
58 └─────────────────────────────┴─────────────────────────────┘
59
61 net_protocol_lookup(9F), net_protocol_walk(9F), attributes(5)
62
63
64
65SunOS 5.11 1 May 2008 net_protocol_release(9F)