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

pcap_pkthdr Struct Reference
[Definitions]

Header of a packet in the dump file. More...

#include <pcap.h>


Data Fields

timeval ts
 time stamp

bpf_u_int32 caplen
 length of portion present

bpf_u_int32 len
 length this packet (off wire)


Detailed Description

Header of a packet in the dump file.

Each packet in the dump file is prepended with this generic header. This gets around the problem of different headers for different packet interfaces.

Definition at line 126 of file incs/pcap.h.


Field Documentation

bpf_u_int32 caplen
 

length of portion present

Definition at line 128 of file incs/pcap.h.

Referenced by daemon_thrdatamain(), pcap_dump(), pcap_offline_read(), pcap_sendqueue_queue(), rpcap_thrdatamain_dgram(), rpcap_thrdatamain_stream(), and sf_next_packet().

bpf_u_int32 len
 

length this packet (off wire)

Definition at line 129 of file incs/pcap.h.

Referenced by daemon_thrdatamain(), packet_handler(), pcap_dump(), pcap_offline_read(), pcap_sendqueue_queue(), rpcap_thrdatamain_dgram(), rpcap_thrdatamain_stream(), and sf_next_packet().

struct timeval ts
 

time stamp

Definition at line 127 of file incs/pcap.h.

Referenced by daemon_thrdatamain(), packet_handler(), pcap_dump(), rpcap_thrdatamain_dgram(), rpcap_thrdatamain_stream(), and sf_next_packet().


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.