Kernel functions net_kstat_create(9F) NAME net_kstat_create - create and initialize a new kstat for a specific instance of IP SYNOPSIS #include #include #include void net_kstat_delete( netid_t netid, kstat_t *ksp, ); INTERFACE LEVEL Solaris DDI specific (Solaris DDI) PARAMETERS net IP instance identifier DESCRIPTION For a more complete discussion of this function and its parameters, see kstat_delete(9f). RETURN VALUES If successful, kstat_create() returns a pointer to the allo- cated kstat. NULL is returned upon failure. CONTEXT net_kstat_create() can be called from user or kernel con- text. ATTRIBUTES See attributes(5) for descriptions of the following attri- butes: ____________________________________________________________ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | |_____________________________|_____________________________| | Interface Stability | Committed | |_____________________________|_____________________________| SEE ALSO hook(9s) net_kstat_create(9f) kstat_delete(9f) kstat_create(9f) kstat_named(9S) SunOS 5.11 Last change: 25 March 2008 1