Searched refs:BPF_WORDALIGN (Results 1 – 3 of 3) sorted by relevance
63 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
64 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
319 d->bd_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen; in bpf_attachd()1586 curlen = BPF_WORDALIGN(d->bd_slen); in catchpacket()