Searched refs:hcp (Results 1 – 1 of 1) sorted by relevance
1286 struct bpf_comp_hdr *hcp; in bpfread() local1288 hcp = (struct bpf_comp_hdr *)(void *)p; in bpfread()1290 if (hcp->bh_complen != 0) { in bpfread()1291 p += BPF_WORDALIGN(hcp->bh_hdrlen + hcp->bh_caplen); in bpfread()3816 struct bpf_comp_hdr *hcp; in catchpacket() local3818 hcp = (struct bpf_comp_hdr *)(void *)(d->bd_sbuf + curlen); in catchpacket()3819 hcp->bh_complen = common_prefix_size; in catchpacket()3821 hcp->bh_caplen -= common_prefix_size; in catchpacket()