Lines Matching refs:cnt
74 pcap_dispatch(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
77 return p->read_op(p, cnt, callback, user);
84 pcap_read(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
87 return p->read_op(p, cnt, callback, user);
91 pcap_loop(pcap_t *p, int cnt, pcap_handler callback, u_char *user)
100 n = pcap_offline_read(p, cnt, callback, user);
107 n = p->read_op(p, cnt, callback, user);
112 if (cnt > 0) {
113 cnt -= n;
114 if (cnt <= 0)