Lines Matching refs:bhp
1195 #define bhp ((struct bpf_xhdr *)bp) in pcap_read_bpf() macro
1197 #define bhp ((struct bpf_hdr *)bp) in pcap_read_bpf() macro
1241 caplen = bhp->bh_caplen; in pcap_read_bpf()
1242 hdrlen = bhp->bh_hdrlen; in pcap_read_bpf()
1258 pcap_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_bpf()
1263 bt.sec = bhp->bh_tstamp.bt_sec; in pcap_read_bpf()
1264 bt.frac = bhp->bh_tstamp.bt_frac; in pcap_read_bpf()
1279 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; in pcap_read_bpf()
1285 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000; in pcap_read_bpf()
1287 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec; in pcap_read_bpf()
1295 if (bhp->bh_datalen > pad) in pcap_read_bpf()
1296 pkthdr.len = bhp->bh_datalen - pad; in pcap_read_bpf()
1302 pkthdr.len = bhp->bh_datalen; in pcap_read_bpf()
1323 #undef bhp in pcap_read_bpf()