packet_file_header Struct Reference
[NPF structures and definitions]

Header of a libpcap dump file. More...

#include <Packet.h>


Data Fields

UINT magic
 Libpcap magic number.
USHORT version_major
 Libpcap major version.
USHORT version_minor
 Libpcap minor version.
UINT thiszone
 Gmt to local correction.
UINT sigfigs
 Accuracy of timestamps.
UINT snaplen
 Length of the max saved portion of each packet.
UINT linktype
 Data link type (DLT_*). See win_bpf.h for details.


Detailed Description

Header of a libpcap dump file.

Used when a driver instance is set in dump mode to create a libpcap-compatible file.

Definition at line 243 of file Packet.h.


Field Documentation

UINT magic

Libpcap magic number.

Definition at line 245 of file Packet.h.

USHORT version_major

Libpcap major version.

Definition at line 246 of file Packet.h.

USHORT version_minor

Libpcap minor version.

Definition at line 247 of file Packet.h.

UINT thiszone

Gmt to local correction.

Definition at line 248 of file Packet.h.

UINT sigfigs

Accuracy of timestamps.

Definition at line 249 of file Packet.h.

UINT snaplen

Length of the max saved portion of each packet.

Definition at line 250 of file Packet.h.

UINT linktype

Data link type (DLT_*). See win_bpf.h for details.

Definition at line 251 of file Packet.h.


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

documentation. Copyright (c) 2002-2005 Politecnico di Torino. Copyright (c) 2005-2007 CACE Technologies. All rights reserved.