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

WinPcap: pcap_stat Struct Reference

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

Structure that keeps statistical values on an interface.
More...

#include <pcap.h>

Data Fields

u_intps_recv
number of packets transited on the network
u_intps_drop
number of packets dropped by the driver
u_intps_ifdrop
drops by interface, not yet supported
u_intbs_capt
Win32 specific. number of packets captured, i.e number of packets that are accepted by the filter, that find place in the kernel buffer and therefore that actually reach the application. For backward compatibility, pcap_stats() does not fill this member, so use pcap_stats_ex() to get it.