1net_instance_register(9F)Kernel Functions for Driversnet_instance_register(9F)
2
3
4
6 net_instance_register - register a set of instances to occur with IP
7 instance events
8
10 #include <sys/neti.h>
11
12 int net_instance_register(net_instance_t *instances);
13
14
16 Solaris DDI specific (Solaris DDI).
17
19 instances must be a pointer returned by net_instance_alloc(9F).
20
21
23 The net_instance_register() function attempts to record the set of
24 functions passed by instances that are to be called when an event
25 related to IP instance maintenance occurs.
26
28 If the net_instance_register() function succeeds, DDI_SUCCESS is
29 returned. Otherwise, DDI_FAILURE is returned to indicate failure due to
30 the name in the instance already being present.
31
33 The net_instance_register() function may be called from user or kernel
34 context.
35
37 See attributes(5) for descriptions of the following attributes:
38
39
40
41
42 ┌─────────────────────────────┬─────────────────────────────┐
43 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
44 ├─────────────────────────────┼─────────────────────────────┤
45 │Availability │SUNWcsu │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Interface Stability │Committed │
48 └─────────────────────────────┴─────────────────────────────┘
49
51 net_instance_alloc(9F), net_instance_unregister(9F), attributes(5),
52 net_instance_t(9S)
53
54
55
56SunOS 5.11 1 May 2008 net_instance_register(9F)