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

sf_pkthdr Struct Reference
[NPF structures and definitions]

Header associated to a packet in the driver's buffer when the driver is in dump mode. Similar to the bpf_hdr structure, but simpler. More...

#include <Packet.h>


Data Fields

timeval ts
 time stamp

UINT caplen
UINT len
 Length of the original packet (off wire).


Detailed Description

Header associated to a packet in the driver's buffer when the driver is in dump mode. Similar to the bpf_hdr structure, but simpler.

Definition at line 211 of file Packet.h.


Field Documentation

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

Referenced by NPF_BufferedWrite().

UINT len
 

Length of the original packet (off wire).

Definition at line 216 of file Packet.h.

struct timeval ts
 

time stamp

Definition at line 212 of file Packet.h.

Referenced by NPF_BufferedWrite().


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.