Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_compat.h24 struct nfattr { struct
38 #define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct nfattr) \ argument
41 (struct nfattr *)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))
42 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len))
47 ({ struct nfattr *__start = (struct nfattr *)skb_tail_pointer(skb); \
58 #define NFM_NFA(n) ((struct nfattr *)(((char *)(n)) \
/external/libpcap/
Dpcap-netfilter-linux.c134 const struct nfattr *payload_attr = NULL; in netfilter_read_linux()
143 struct nfattr *attr = NFM_NFA(nfg); in netfilter_read_linux()
271 struct nfattr *nfa = (struct nfattr *) (buf + NLMSG_ALIGN(nlh->nlmsg_len)); in netfilter_send_config_msg()