1net_hook_unregister(9F) Kernel Functions for Drivers net_hook_unregister(9F)
2
3
4
6 net_hook_unregister - disable a hook that was called in event process‐
7 ing
8
10 #include <sys/neti.h>
11
12 int net_hook_unregister(const net_data_t net, nethook_t hook);
13
14
16 Solaris DDI specific (Solaris DDI).
17
19 net value returned from a successful call to net_protocol_regis‐
20 ter().
21
22
23 hook value returned from a successful call to net_hook_register(9F).
24
25
27 The net_hook_unregister() function disables the callback hooks that
28 were registered with the net_hook_register() function.
29
31 If the net_hook_unregister() function succeeds, 0 is returned. Other‐
32 wise, an error indicating the problem encountered.
33
35 The net_hook_unregister() function may be called from user, kernel, or
36 interrupt context.
37
39 See attributes(5) for descriptions of the following attributes:
40
41
42
43
44 ┌─────────────────────────────┬─────────────────────────────┐
45 │ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
46 ├─────────────────────────────┼─────────────────────────────┤
47 │Availability │SUNWcsu │
48 ├─────────────────────────────┼─────────────────────────────┤
49 │Interface Stability │Committed │
50 └─────────────────────────────┴─────────────────────────────┘
51
53 net_hook_register(9F)
54
55
56
57SunOS 5.11 1 May 2008 net_hook_unregister(9F)