Packet Sniffer SDK DLL Edition

Constants Enumerations :: HNStatisticsType

 Previous Next

HNStatisticsType enumeration contains the constants indicating asynchronously requested statistics types. Use the OnStatistics event to obtain appropriate values.

Syntax:

const stNdisTranWithoutErr = 0;
const stNdisRecvWithoutErr = 1;
const stNdisTranWithErr    = 2;
const stNdisRecvWithErr    = 3;
const stNdisMissed         = 4;
const stBpfReceive         = 5;
const stBpfAccept          = 6;
const stBpfReject          = 7;
const stBpfProcess         = 8;
enum HNStatisticsType
{
   stNdisTranWithoutErr = 0,
   stNdisRecvWithoutErr = 1,
   stNdisTranWithErr    = 2,
   stNdisRecvWithErr    = 3,
   stNdisMissed         = 4,
   stBpfReceive         = 5,
   stBpfAccept          = 6,
   stBpfReject          = 7,
   stBpfProcess         = 8
};

Values:

stNdisTranWithoutErr

The number of the packets sent by the network adapter successfully.

stNdisRecvWithoutErr

The number of the packets received by the network adapter successfully.

stNdisTranWithErr

The number of the packets sent by the network adapter with errors.

stNdisRecvWithErr

The number of the packets received by the network adapter with errors.

stNdisMissed

The number of the packets lost by the network adapter.

stBpfReceive

The number of the packets received by the Packet Sniffer SDK internal driver.

stBpfAccept

The number of the packets passed by the BPF filter.

stBpfReject

The number of the packets ignored by the BPF filter.

stBpfProcess

The number of the packets transferred by PSSDK to the application.

See also:HNAdapter, OnStatistics, AdpGetAsyncStatistics