Lines Matching defs:bhp
230 #define bhp ((struct bpf_hdr *)bp)
258 caplen = bhp->bh_caplen;
259 hdrlen = bhp->bh_hdrlen;
274 bpf_filter(fcode, datap, bhp->bh_datalen, caplen)) {
277 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec;
283 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec/1000;
285 pkthdr.ts.tv_usec = bhp->bh_tstamp.tv_usec;
292 if (bhp->bh_datalen > pad)
293 pkthdr.len = bhp->bh_datalen - pad;
299 pkthdr.len = bhp->bh_datalen;
315 #undef bhp