Kernel Functions for Drivers nethookunregister(9F)
NAME
nethookunregister - disable a hook that was called in
event processing
SYNOPSIS
#include
int nethookunregister(const netdatat net, nethookt hook);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
net value returned from a successful call to
netprotocolregister().
hook value returned from a successful call to
nethookregister(9F).
DESCRIPTION
The nethookunregister() function disables the callback
hooks that were registered with the nethookregister()
function.
RETURN VALUES
If the nethookunregister() function succeeds, 0 is
returned. Otherwise, an error indicating the problem
encountered.
CONTEXT
The nethookunregister() 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 nethookunregister(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
nethookregister(9F)
SunOS 5.11 Last change: 1 May 2008 2
|