[Previous] [Contents] [Index] [Next]

NetStats_t

Network statistics for a nicinfo command

Synopsis:

typedef struct _net_stats {
    GenStats_t  gstats;
    union {
        EthernetStats_t     estats;
        FddiStats_t         fstats;
        TokenRingStats_t    trstats;
        ArcnetStats_t       arcstats;
        AtmStats_t          atmstats;
        CustNicStats_t      custstats;
        char                bytes[1024];
    }un;
} NetStats_t;

Description:

This structure holds network statistics for a nicinfo command. Its members include:

gstats
General statistics; for more information, see GenStats_t.
un
A union of device-specific statistic structures. The media member of the Nic_t indicates which of these strucutes is applicable:
media Union member Structure type
NIC_MEDIA_802_3 estats EthernetStats_t
NIC_MEDIA_FDDI fstats Not currently used
NIC_MEDIA_802_5 trstats Not currently used
NIC_MEDIA_ARCNET arcstats Not currently used
NIC_MEDIA_ATM atmstats Not currently used
NIC_MEDIA_CUSTOM custstats CustNicStats_t

Classification:

QNX

See also:

CustNicStats_t, EthernetStats_t, GenStats_t, Nic_t


[Previous] [Contents] [Index] [Next]