Searched refs:BPF_WORDALIGN (Results 1 – 3 of 3) sorted by relevance
1263 (p + BPF_WORDALIGN(ehp->bh_hdrlen)); in bpfread()1268 p += BPF_WORDALIGN(ehp->bh_hdrlen + ehp->bh_caplen); in bpfread()1291 p += BPF_WORDALIGN(hcp->bh_hdrlen + hcp->bh_caplen); in bpfread()1297 (p + BPF_WORDALIGN(hp->bh_hdrlen)); in bpfread()1301 p += BPF_WORDALIGN(hp->bh_hdrlen + hp->bh_caplen); in bpfread()3645 curlen = BPF_WORDALIGN(d->bd_slen); in catchpacket()3777 memset(hp, 0, BPF_WORDALIGN(sizeof(*hp))); in catchpacket()4038 bp_new->bif_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen; in bpf_attach()4039 bp_new->bif_exthdrlen = BPF_WORDALIGN(hdrlen + in bpf_attach()4041 bp_new->bif_comphdrlen = BPF_WORDALIGN(hdrlen + in bpf_attach()[all …]
136 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
1719 skip = BPF_WORDALIGN(pkt_len + bpf->bh_hdrlen); in switch_port_receive()