#include <Packet32.h>
Data Fields | |
timeval | bh_tstamp |
The timestamp associated with the captured packet. It is stored in a TimeVal structure. More... | |
UINT | bh_caplen |
Length of captured portion. The captured portion can be different from the original packet, because it is possible (with a proper filter) to instruct the driver to capture only a portion of the packets. More... | |
UINT | bh_datalen |
Original length of packet. More... | |
USHORT | bh_hdrlen |
Length of bpf header (this struct plus alignment padding). In some cases, a padding could be added between the end of this structure and the packet data for performance reasons. This filed can be used to retrieve the actual data of the packet. More... |
This structure defines the header associated with every packet delivered to the application.
Definition at line 142 of file Packet32.h.
|
Length of captured portion. The captured portion can be different from the original packet, because it is possible (with a proper filter) to instruct the driver to capture only a portion of the packets.
Definition at line 145 of file Packet32.h. Referenced by NPF_Read, NPF_tap, and PrintPackets. |
|
Original length of packet.
Definition at line 148 of file Packet32.h. Referenced by NPF_Read, NPF_tap, and PrintPackets. |
|
Length of bpf header (this struct plus alignment padding). In some cases, a padding could be added between the end of this structure and the packet data for performance reasons. This filed can be used to retrieve the actual data of the packet.
Definition at line 149 of file Packet32.h. Referenced by NPF_Read, NPF_tap, and PrintPackets. |
|
The timestamp associated with the captured packet. It is stored in a TimeVal structure.
Definition at line 143 of file Packet32.h. |
documentation. Copyright (c) 2002 Politecnico di Torino. All rights reserved.