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

ifstats_attach(D3)


ifstats_attach -- register a network interface statistics structure

Synopsis (Not in current DDI version)

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

void ifstats_attach(ifstats_t *statp);

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.

Arguments


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

Return values

None.

Usage

Called to place the referenced interface statistics structure on the global list of interface statistics structures.

Context and synchronization

Non-blockable, user or blockable context.

Hardware applicability

All

Version applicability

ddi: 6, 6mp, 7, 7mp, 7.1, 7.1mp

Differences between versions

MDI provides a more powerful statistics gathering mechanism based on media-specific structures. See ``Metrics'' in HDK Technical Reference.

References

ifstats(D4) ifstats_detach(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