目录
当前位置: 首页 > 文档资料 > WinPcap 中文手册 >

WinPcap: rpcap_pkthdr Struct Reference

优质
小牛编辑
134浏览
2023-12-01

Format of the header which encapsulates captured packets when transmitted on the network.
More...

#include <pcap-remote.h>

Data Fields

uint32timestamp_sec
'struct timeval' compatible, it represents the 'tv_sec' field
uint32timestamp_usec
'struct timeval' compatible, it represents the 'tv_usec' field
uint32caplen
Length of portion present in the capture.
uint32len
Real length this packet (off wire).
uint32npkt
Ordinal number of the packet (i.e. the first one captured has '1', the second one '2', etc).