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

GenStats_t

General statistics for a nicinfo command

Synopsis:

typedef struct _gen_stats {
    ulong_t     medium;
    ulong_t     xmit_ok;
    ulong_t     rcv_ok;
    ulong_t     xmit_error;
    ulong_t     rcv_error;
    ulong_t     multicast_xmit;
    ulong_t     multicast_rcv;
    ulong_t     broadcast_xmit;
    ulong_t     broadcast_rcv;
} GenStats_t;

Description:

The GenStats_t structure holds the general statistics for a nicinfo command. The medium member isn't currently used.

Your driver must fill in the following members:

xmit_ok
The number of packets successfully transmitted.
rcv_ok
The number of packets successfully received.
xmit_error
The number of transmission errors.
rcv_error
The number of receive errors.

Your driver can also fill in these optional statistics:

multicast_xmit
The number of multicast packets transmitted.
multicast_rcv
The number of multicast packets received.
broadcast_xmit
The number of broadcast packets transmitted.
broadcast_rcv
The number of broadcast packets received.

Classification:

QNX

See also:

CustNicStats_t, EthernetStats_t, NetStats_t, Nic_t,


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