メイン   モジュール   デー タ構造   ファイルリスト   データフィールド   グローバル   関連ページ   注意事項   English

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 196 of file Packet.h.


Field Documentation

UINT linktype
 

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

Definition at line 204 of file Packet.h.

Referenced by NPF_StartDump().

UINT magic
 

Libpcap magic number.

Definition at line 198 of file Packet.h.

Referenced by NPF_StartDump().

UINT sigfigs
 

Accuracy of timestamps.

Definition at line 202 of file Packet.h.

Referenced by NPF_StartDump().

UINT snaplen
 

Length of the max saved portion of each packet.

Definition at line 203 of file Packet.h.

Referenced by NPF_StartDump().

UINT thiszone
 

Gmt to local correction.

Definition at line 201 of file Packet.h.

Referenced by NPF_StartDump().

USHORT version_major
 

Libpcap major version.

Definition at line 199 of file Packet.h.

Referenced by NPF_StartDump().

USHORT version_minor
 

Libpcap minor version.

Definition at line 200 of file Packet.h.

Referenced by NPF_StartDump().


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

documentation. Copyright (c)2002-2003 Politecnico di Torino.
2005 translated by Telebusiness,Inc.
 All rights reserved.