Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/netfilter/
H A Dnfnetlink_compat.h38 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) macro
41 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \
42 (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))
43 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len))
44 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))