Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

bpf_stat Struct Reference
[Packet.dll definitions and data structures]

Structure that contains a couple of statistics values on the current capture. More...

#include <Packet32.h>


Data Fields

UINT bs_recv
UINT bs_drop
UINT ps_ifdrop
 drops by interface. XXX not yet supported

UINT bs_capt


Detailed Description

Structure that contains a couple of statistics values on the current capture.

It is used by packet.dll to return statistics about a capture session.

Definition at line 136 of file Packet32.h.


Field Documentation

UINT bs_capt
 

number of packets that pass the filter, find place in the kernel buffer and thus reach the application.

Definition at line 144 of file Packet32.h.

Referenced by PacketGetStatsEx().

UINT bs_drop
 

number of packets that the driver lost from the beginning of a capture. Basically, a packet is lost when the the buffer of the driver is full. In this situation the packet cannot be stored and the driver rejects it.

Definition at line 140 of file Packet32.h.

Referenced by main(), PacketGetStats(), and PacketGetStatsEx().

UINT bs_recv
 

Number of packets that the driver received from the network adapter from the beginning of the current capture. This value includes the packets lost by the driver.

Definition at line 137 of file Packet32.h.

Referenced by main(), PacketGetStats(), and PacketGetStatsEx().

UINT ps_ifdrop
 

drops by interface. XXX not yet supported

Definition at line 143 of file Packet32.h.

Referenced by PacketGetStatsEx().


The documentation for this struct was generated from the following file:

documentation. Copyright (c) 2002-2003 Politecnico di Torino. All rights reserved.