Packet header. More...
#include <airpcap.h>
Data Fields | |
UINT | TsSec |
Timestamp associated with the captured packet. SECONDS. | |
UINT | TsUsec |
Timestamp associated with the captured packet. MICROSECONDS. | |
UINT | 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. | |
UINT | Originallen |
Original length of packet. | |
USHORT | 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 field can be used to retrieve the actual data of the packet. |
Packet header.
This structure defines the BPF that preceeds every packet delivered to the application.
Timestamp associated with the captured packet. SECONDS.
Timestamp associated with the captured packet. MICROSECONDS.
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.
Original length of packet.
USHORT _AirpcapBpfHeader::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 field can be used to retrieve the actual data of the packet.
AirPcap documentation. Copyright (c) 2006-2008
CACE Technologies, Inc. All rights reserved.