Home
last modified time | relevance | path

Searched refs:BPF_WORDALIGN (Results 1 – 3 of 3) sorted by relevance

/xnu-8020.101.4/bsd/net/
H A Dbpf.c1219 (p + BPF_WORDALIGN(ehp->bh_hdrlen)); in bpfread()
1224 p += BPF_WORDALIGN(ehp->bh_hdrlen + ehp->bh_caplen); in bpfread()
1236 (p + BPF_WORDALIGN(hp->bh_hdrlen)); in bpfread()
1240 p += BPF_WORDALIGN(hp->bh_hdrlen + hp->bh_caplen); in bpfread()
3406 curlen = BPF_WORDALIGN(d->bd_slen); in catchpacket()
3713 bp_new->bif_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen; in bpf_attach()
3714 bp_new->bif_exthdrlen = BPF_WORDALIGN(hdrlen + in bpf_attach()
H A Dbpf.h136 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
/xnu-8020.101.4/tests/
H A Dnet_bridge.c1718 skip = BPF_WORDALIGN(pkt_len + bpf->bh_hdrlen); in switch_port_receive()