Home
last modified time | relevance | path

Searched refs:hp (Results 1 – 2 of 2) sorted by relevance

/xnu-8796.141.3/bsd/net/
H A Dbpf.c1007 bpf_finalize_pktap(struct bpf_hdr *hp, struct pktap_header *pktaphdr) in bpf_finalize_pktap() argument
1023 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() local
1281 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() local
3786 hp = (struct bpf_hdr *)(void *)(d->bd_sbuf + curlen); in catchpacket()
[all …]
/xnu-8796.141.3/bsd/netinet6/
H A Dip6_output.c535 #define MAKE_EXTHDR(hp, mp) do { \ in ip6_output_list() argument
536 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()