Searched refs:BPF_WORDALIGN (Results 1 - 2 of 2) sorted by relevance

/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dbpf.h95 * Alignment macros. BPF_WORDALIGN rounds up to the next
99 #define BPF_WORDALIGN(x) (((x)+(BPF_ALIGNMENT-1))&~(BPF_ALIGNMENT-1)) macro
H A Dbpf.c1643 curlen = BPF_WORDALIGN(d->bd_slen);
1796 bp_new->bif_hdrlen = BPF_WORDALIGN(hdrlen + SIZEOF_BPF_HDR) - hdrlen;

Completed in 25 milliseconds