Searched refs:hp (Results 1 – 2 of 2) sorted by relevance
1007 bpf_finalize_pktap(struct bpf_hdr *hp, struct pktap_header *pktaphdr) in bpf_finalize_pktap() argument1023 hp->bh_tstamp.tv_sec = pktaphdr->pth_tstamp.tv_sec; in bpf_finalize_pktap()1024 hp->bh_tstamp.tv_usec = pktaphdr->pth_tstamp.tv_usec; in bpf_finalize_pktap()1278 struct bpf_hdr *hp; in bpfread() local1281 hp = (struct bpf_hdr *)(void *)p; in bpfread()1299 (p + BPF_WORDALIGN(hp->bh_hdrlen)); in bpfread()1301 bpf_finalize_pktap(hp, pktaphdr); in bpfread()1303 p += BPF_WORDALIGN(hp->bh_hdrlen + hp->bh_caplen); in bpfread()3626 struct bpf_hdr *hp; in catchpacket() local3786 hp = (struct bpf_hdr *)(void *)(d->bd_sbuf + curlen); in catchpacket()[all …]
535 #define MAKE_EXTHDR(hp, mp) do { \ in ip6_output_list() argument536 if (hp != NULL) { \ in ip6_output_list()537 struct ip6_ext *eh = (struct ip6_ext *)(hp); \ in ip6_output_list()538 error = ip6_copyexthdr((mp), (caddr_t)(hp), \ in ip6_output_list()