Lines Matching defs:stat
1653 struct pcap_stat stat;
1659 stat.ps_ifdrop = 0;
1660 if (pcap_stats(pd, &stat) < 0) {
1675 (void)fprintf(stderr, "%u packet%s received by filter", stat.ps_recv,
1676 PLURAL_SUFFIX(stat.ps_recv));
1681 (void)fprintf(stderr, "%u packet%s dropped by kernel", stat.ps_drop,
1682 PLURAL_SUFFIX(stat.ps_drop));
1683 if (stat.ps_ifdrop != 0) {
1689 stat.ps_ifdrop, PLURAL_SUFFIX(stat.ps_ifdrop));
2034 struct pcap_stat stat;
2036 if (infodelay == 0 && pcap_stats(pd, &stat) >= 0)
2042 struct pcap_stat stat;
2044 if (infodelay == 0 && pcap_stats(pd, &stat) >= 0)