Lines Matching defs:stats
1031 usb_stats_linux(pcap_t *handle, struct pcap_stat *stats)
1056 "Can't open USB stats file %s", string);
1061 /* read stats line */
1070 "Can't read stats from fd %d ", fd);
1075 stats->ps_recv = handlep->packets_read;
1076 stats->ps_drop = 0; /* unless we find text_lost */
1077 stats->ps_ifdrop = 0;
1096 ntok = sscanf(ptr, "%d%n", &stats->ps_drop, &cnt);
1117 usb_stats_linux_bin(pcap_t *handle, struct pcap_stat *stats)
1126 errno, "Can't read stats from fd %d", handle->fd);
1130 stats->ps_recv = handlep->packets_read + st.queued;
1131 stats->ps_drop = st.dropped;
1132 stats->ps_ifdrop = 0;