- If the channel number chan is 0xffff, then the statistics returned will be for all channels, otherwise the statistics for the channel indicated will be returned. The statistics are returned in the pointer stats.
typedef struct _txpdCtlSTATS
{
unsigned short Channel; /* 0xffff for all or 0..255 */
unsigned short LowFreeCnt; /* Smallest free buffer count */
unsigned long PktsSentCS; /* # packets sent */
unsigned long BytesSentCS; /* # bytes sent */
unsigned long SendRejCS; /* # sends rejected as illegal */
unsigned long PktsRecvCS; /* # packets received */
unsigned long BytesRecvCS; /* # bytes received */
unsigned long RecvRejRegCS; /* # rcvd pkts rejected-no registration */
unsigned long RecvRejBfrCS; /* # rcvd pkts rejected- no buffer
* available */
unsigned long RecvTruncCS; /* # rcvd pkts truncated */
};