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

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

Dump packet header. More...

#include <Packet32.h>


Data Fields

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 173 of file Packet32.h.


Field Documentation

UINT 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 175 of file Packet32.h.

UINT len
 

Length of the original packet (off wire).

Definition at line 178 of file Packet32.h.

struct timeval ts
 

Time stamp of the packet.

Definition at line 174 of file Packet32.h.


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

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