Network statistics for a nicinfo command
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;
This structure holds network statistics for a nicinfo command. Its members include:
| 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 |
QNX
CustNicStats_t, EthernetStats_t, GenStats_t, Nic_t