Searched refs:nfa (Results 1 – 2 of 2) sorted by relevance
39 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ argument40 && (nfa)->nfa_len <= (len))41 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \ argument42 (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))45 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0))) argument46 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0)) argument
738 const struct bpf_link_info *nfa = a; in netfilter_link_compar() local742 delta = nfa->netfilter.pf - nfb->netfilter.pf; in netfilter_link_compar()746 delta = nfa->netfilter.hooknum - nfb->netfilter.hooknum; in netfilter_link_compar()750 if (nfa->netfilter.priority < nfb->netfilter.priority) in netfilter_link_compar()752 if (nfa->netfilter.priority > nfb->netfilter.priority) in netfilter_link_compar()755 return nfa->netfilter.flags - nfb->netfilter.flags; in netfilter_link_compar()