Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_compat.h25 __u16 nfa_len; member
38 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \
39 && (nfa)->nfa_len <= (len))
40 #define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), \
41 (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))
45 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
51 ({ (start)->nfa_len = skb_tail_pointer(skb) - (unsigned char *)(start); \
/external/libpcap/
Dpcap-netfilter-linux.c240 u_int16_t nfa_len; member
274 nfa->nfa_len = NFA_LENGTH(mynfa->nfa_len); in netfilter_send_config_msg()
275 memcpy(NFA_DATA(nfa), mynfa->data, mynfa->nfa_len); in netfilter_send_config_msg()
276 nlh->nlmsg_len = NLMSG_ALIGN(nlh->nlmsg_len) + NFA_ALIGN(nfa->nfa_len); in netfilter_send_config_msg()
342 nfa.nfa_len = sizeof(msg); in nflog_send_config_cmd()
358 nfa.nfa_len = sizeof(msg); in nflog_send_config_mode()
374 nfa.nfa_len = sizeof(msg); in nfqueue_send_verdict()
396 nfa.nfa_len = sizeof(msg); in nfqueue_send_config_cmd()
412 nfa.nfa_len = sizeof(msg); in nfqueue_send_config_mode()