DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
SVR5

ifstats_detach(D3)


ifstats_detach -- un-register a network interface statistics structure

Synopsis (Not in current DDI version)

   #include <net/if.h>
   #include <sys/ddi.h>
   

ifstats_t *ifstats_detach(ifstats_t *statp);

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.

Arguments


statp
A pointer to the driver's interface statistics structure.

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

Context and synchronization

Non-blockable, user or blockable context.

Hardware applicability

All

Version applicability

ddi: 6, 6mp, 7, 7mp, 7.1, 7.1mp MDI provides a more powerful statistics gathering mechanism based on media-specific structures. See ``Metrics'' in HDK Technical Reference.

References

ifstats(D4) ifstats_attach(D3)

Intro(MDI) (on OpenServer 6), Intro(7mdi) (on UnixWare 7.1.4)

``Metrics'' in HDK Technical Reference


19 June 2005
© 2005 The SCO Group, Inc. All rights reserved.
OpenServer 6 and UnixWare (SVR5) HDK - June 2005