ifstats_attach(D3) ifstats_attach(D3)
NAME
ifstats_attach - register a network interface statistics
structure
SYNOPSIS
#include <net/if.h>
#include <sys/ddi.h>
void ifstats_attach(ifstats_t *statp);
Arguments
statp A pointer to the driver's interface statistics
structure.
DESCRIPTION
ifstats_attach adds the referenced interface statistics
structure to the global list of networking driver interface
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
None.
USAGE
Called to place the referenced interface statistics structure
on the global list of interface statistics structures.
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_detach(D3)
NOTICES
Portability
All processors
Copyright 1994 Novell, Inc. Page 1
ifstats_attach(D3) ifstats_attach(D3)
Applicability
ddi: 6, 6mp, 7, 7mp
Copyright 1994 Novell, Inc. Page 2