Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_compat.h37 #define NFA_ALIGN(len) (((len) + NFA_ALIGNTO - 1) & ~(NFA_ALIGNTO - 1)) macro
40 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \
41 (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))
42 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len))
43 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))
/external/libpcap/
Dpcap-netfilter-linux.c276 nlh->nlmsg_len = NLMSG_ALIGN(nlh->nlmsg_len) + NFA_ALIGN(nfa->nfa_len); in netfilter_send_config_msg()