|Zero-based index of the producer in the buffer. It indicates the first free byte to be written. |
|Zero-based index of the consumer in the buffer. It indicates the first free byte to be read. |
|Number of the free bytes in the buffer. |
|Pointer to the kernel buffer used to capture packets. |
|It protects the buffer associated with this CPU. |
|MDL used to map the portion of the buffer that will contain an incoming packet. |
|Second MDL used to map the portion of the buffer that will contain an incoming packet. |
|Used by NdisTransferData() (when we call NdisTransferData, p index must be updated only in the TransferDataComplete. |
Structure containing the kernel buffer (and other CPU related fields) used to capture packets.
Definition at line 320 of file Packet.h.
Number of packet that current capture instance acepted, from its opening. A packet is accepted if it passes the filter and fits in the buffer. Accepted packets are the ones that reach the application. This number is related to the particular CPU this structure is referring to.
Number of packet that current instance had to drop, from its opening. A packet is dropped if there is no more space to store it in the circular buffer that the driver associates to current instance. This number is related to the particular CPU this structure is referring to.
documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2007 CACE Technologies. All rights reserved.