Lines Matching refs:bufp
122 int count, u_char *bufp, int len) in pcap_process_pkts() argument
136 ep = bufp + len; in pcap_process_pkts()
140 while (bufp < ep) { in pcap_process_pkts()
155 p->bp = bufp; in pcap_process_pkts()
156 p->cc = ep - bufp; in pcap_process_pkts()
161 if ((long)bufp & 3) { in pcap_process_pkts()
163 memcpy(sbp, bufp, sizeof(*sbp)); in pcap_process_pkts()
166 sbp = (struct sb_hdr *)bufp; in pcap_process_pkts()
168 pk = bufp + sizeof(*sbp); in pcap_process_pkts()
169 bufp += sbp->sbh_totlen; in pcap_process_pkts()
175 pk = bufp; in pcap_process_pkts()
176 bufp += caplen; in pcap_process_pkts()
193 p->cc = ep - bufp; in pcap_process_pkts()
194 p->bp = bufp; in pcap_process_pkts()