Kernel Functions for Drivers netkstatdelete(9F)
NAME
netkstatdelete - remove a kstat for a specific instance of
IP from the system
SYNOPSIS
#include
#include
#include
void netkstatdelete(netidt netid, kstatt *ksp);
INTERFACE LEVEL
Solaris DI specific (Solaris DI).
PARAMETERS
netid IP instance identifier.
ksp Pointer to a currently installed kstat(9S) struc-
ture.
DESCRIPTION
The netkstatdelete() function removes ksp from the kstat
chain and frees all associated system resources. See
kstatdelete(9F) for a complete discussion of this function.
RETURN VALUES
If successful, netkstatdelete() returns a pointer to the
allocated kstat. NUL is returned upon failure.
CONTEXT
The netkstatdelete() 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 netkstatdelete(9F)
ATRIBUTE TYPE ATRIBUTE VALUE
Availability SUNWcsu
Interface Stability Committed
SEE ALSO
kstatcreate(9F), kstatdelete(9F), netkstatcreate(9F),
hookt(9S), kstatnamed(9S)
SunOS 5.11 Last change: 1 May 2008 2
|