Index Index for
Section 9
Index Alphabetical
listing for C
Bottom of page Bottom of
page

CLEAR_LAN_COUNTERS(9r)

NAME

CLEAR_LAN_COUNTERS - Network: Clears statistical counters in the ether_driver structure for an Ethernet device

SYNOPSIS

#include <io/dec/netif/lan_common.h> CLEAR_LAN_COUNTERS( struct ether_driver *ed_p );

ARGUMENTS

ed_p Specifies a pointer to an ether_driver structure associated with this network device.

DESCRIPTION

The CLEAR_LAN_COUNTERS() routine clears the ess_ctrblk and ess_missed members of the ether_driver structure to zero. A network driver makes this call to initialize those fields after obtaining an ether_driver structure for the network device by calling if_alloc().

RETURN VALUES

None

FILES

<lan_common.h>

SEE ALSO

Routines: if_alloc(9r) Data Structures: ether_driver(9s)

Index Index for
Section 9
Index Alphabetical
listing for C
Top of page Top of
page