ifstats_detach(D3) ifstats_detach(D3)
NAME
ifstats_detach - un-register a network interface statistics
structure
SYNOPSIS
#include <net/if.h>
#include <sys/ddi.h>
ifstats_t *ifstats_detach(ifstats_t *statp);
Arguments
statp A pointer to the driver's interface statistics
structure.
DESCRIPTION
ifstats_detach removes the referenced interface statistics
structure from the global list of networking drivers'
statistics structures. The ifstats structure is used by
networking drivers such as Ethernet, Token-Ring, FDDI, etc.,
to record statistics on their utilization/performance for
collection by network management agents.
Return Values
If successful, ifstats_detach returns a pointer to the
interface statistics structure that was removed from the
global list. A NULL pointer is returned if the referenced
structure could not be located on the global list.
USAGE
Level
Initialization and Base.
Synchronization Constraints
Does not sleep.
Driver-defined basic locks, read/write locks, and sleep locks
may be held across calls to this function.
REFERENCES
ifstats(D4), ifstats_attach(D3)
NOTICES
Portability
All processors
Copyright 1994 Novell, Inc. Page 1
ifstats_detach(D3) ifstats_detach(D3)
Applicability
ddi: 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2