好消息,超酷的在线虚拟网络实验室上线了!点击开始实验

为获得更好的浏览效果,建议您使用 Firefox 或者 Chrome 浏览器



pcap_pkthdr Struct Reference
[Definitions]

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

#include <pcap.h>

Data Fields

struct 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

length of portion present

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

length this packet (off wire)

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

struct timeval ts [read]

time stamp

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


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