1net_getnetid(9F) Kernel Functions for Drivers net_getnetid(9F)
2
3
4
6 net_getnetid - returns the instance identifier
7
9 #include <sys/neti.h>
10
11 netid_t net_getnetid(const net_data_t net);
12
13
15 Solaris DDI specific (Solaris DDI).
16
18 net value returned from a successful call to net_proto‐
19 col_lookup(9F).
20
21
23 The net_getnetid() function returns the instance identifier for the
24 protocol instance returned via a call to net_protocol_lookup(9F).
25
27 The net_getnetid() function returns the value of the instance identi‐
28 fier.
29
31 The net_getnetid() function may be called from user, kernel, or inter‐
32 rupt context.
33
35 See attributes(5) for descriptions of the following attributes:
36
37
38
39
40 ┌─────────────────────────────┬─────────────────────────────┐
41 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
42 ├─────────────────────────────┼─────────────────────────────┤
43 │Availability │SUNWcsu │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Interface Stability │Committed │
46 └─────────────────────────────┴─────────────────────────────┘
47
49 net_protocol_lookup(9F)
50
51
52
53SunOS 5.11 1 May 2008 net_getnetid(9F)