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

bpf_hdr Struct Reference
[Definitions and data structuresDefinitions and data structures]

Packet header. More...

#include <PACKET32.H>

List of all members.

Public Attributes

timeval bh_tstamp
 It is stored in a TimeVal structure.
UINT bh_caplen
UINT bh_datalen
 Original length of packet.
USHORT bh_hdrlen
timeval bh_tstamp
bpf_u_int32 bh_caplen
bpf_u_int32 bh_datalen
u_short bh_hdrlen
timeval bh_tstamp
 It is stored in a TimeVal structure.


Detailed Description

Packet header.

This structure defines the header associated with every packet delivered to the application.

Definition at line 134 of file PACKET32.H.


Member Data Documentation

bpf_u_int32 bpf_hdr::bh_caplen
 

Definition at line 152 of file Bpf.h.

UINT bpf_hdr::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.

Definition at line 169 of file Packet32.h.

bpf_u_int32 bpf_hdr::bh_datalen
 

Definition at line 153 of file Bpf.h.

UINT bpf_hdr::bh_datalen
 

Original length of packet.

Definition at line 172 of file Packet32.h.

u_short bpf_hdr::bh_hdrlen
 

Definition at line 154 of file Bpf.h.

USHORT bpf_hdr::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.

Definition at line 173 of file Packet32.h.

struct timeval bpf_hdr::bh_tstamp
 

It is stored in a TimeVal structure.

The timestamp associated with the captured packet.

Definition at line 167 of file Packet32.h.

struct timeval bpf_hdr::bh_tstamp
 

Definition at line 151 of file Bpf.h.

struct timeval bpf_hdr::bh_tstamp
 

It is stored in a TimeVal structure.

The timestamp associated with the captured packet.

Definition at line 135 of file PACKET32.H.


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