Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

dump_bpf_hdr Struct Reference
[Definitions and data structures]

Dump packet header. More...

#include <Packet32.h>

List of all members.

Public Attributes

timeval ts
 Time stamp of the packet.
UINT caplen
UINT len
 Length of the original packet (off wire).


Detailed Description

Dump packet header.

This structure defines the header associated with the packets in a buffer to be used with PacketSendPackets(). It is simpler than the bpf_hdr, because it corresponds to the header associated by WinPcap and libpcap to a packet in a dump file. This makes straightforward sending WinPcap dump files to the network.

Definition at line 186 of file Packet32.h.


Member Data Documentation

UINT dump_bpf_hdr::caplen
 

Length of captured portion. The captured portion can smaller than the 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 188 of file Packet32.h.

UINT dump_bpf_hdr::len
 

Length of the original packet (off wire).

Definition at line 191 of file Packet32.h.

struct timeval dump_bpf_hdr::ts
 

Time stamp of the packet.

Definition at line 187 of file Packet32.h.


The documentation for this struct was generated from the following file:
Generated on Sun May 14 14:51:32 2006 by  doxygen 1.4.2