DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

MACIOC_GETSTAT(7mdi)


MACIOC_GETSTAT -- MDI return statistics ioctl

Description

This ioctl requests that the MDI driver return media-specific statistics containing information about the MDI driver, the network adapter and the network itself. MDI includes a statistics mechanism that uses media-specific statistics structures:

mac_stats_eth(D4mdi)
Ethernet

mac_stats_tr(D4mdi)
IEEE 802.5 token passing ring

mac_stats_fddi(D4mdi)
ANSI Fiber Distributed Data Interface (FDDI)

mac_stats_isdn(D4mdi)
ISDN (Integrated Services Digital Network)

This replaces the mechanism based on the ifstats(D4) structure to provide information to the netstat(1Mtcp) command.

Parameters

The ioctl data contains space into which the MDI driver should copy its statistics structure.

Data returned

The MDI driver should fill the ioctl data area with the its statistics structure.

Version applicability

mdi: 1, 2, 2.1

References

Intro(7mdi), MACIOC_SETSTAT(7mdi), MACIOC_CLRSTAT(7mdi)

``MDI ioctls'' in HDK Technical Reference


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
HDK 7.1.0b - 15 March 2000