Lines Matching refs:bhp
1043 #define bhp ((struct bpf_xhdr *)bp) in pcap_read_bpf() macro
1045 #define bhp ((struct bpf_hdr *)bp) in pcap_read_bpf() macro
1089 caplen = bhp->bh_caplen; in pcap_read_bpf()
1090 hdrlen = bhp->bh_hdrlen; in pcap_read_bpf()
1106 bpf_filter(p->fcode.bf_insns, datap, bhp->bh_datalen, caplen)) { in pcap_read_bpf()
1111 bt.sec = bhp->bh_tstamp.bt_sec; in pcap_read_bpf()
1112 bt.frac = bhp->bh_tstamp.bt_frac; in pcap_read_bpf()
1127 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; in pcap_read_bpf()
1133 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000; in pcap_read_bpf()
1135 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec; in pcap_read_bpf()
1143 if (bhp->bh_datalen > pad) in pcap_read_bpf()
1144 pkthdr.len = bhp->bh_datalen - pad; in pcap_read_bpf()
1150 pkthdr.len = bhp->bh_datalen; in pcap_read_bpf()
1171 #undef bhp in pcap_read_bpf()