Home
last modified time | relevance | path

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

/external/kernel-headers/original/uapi/linux/netfilter/
Dnfnetlink_compat.h43 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) macro
44 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))
45 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0)))
46 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
/external/libnfnetlink/include/libnfnetlink/
Dlinux_nfnetlink_compat.h40 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) macro
41 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))
42 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0)))
43 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
/external/libnl/include/linux-private/linux/netfilter/
Dnfnetlink_compat.h42 #define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct nfattr)) + (len)) macro
43 #define NFA_SPACE(len) NFA_ALIGN(NFA_LENGTH(len))
44 #define NFA_DATA(nfa) ((void *)(((char *)(nfa)) + NFA_LENGTH(0)))
45 #define NFA_PAYLOAD(nfa) ((int)((nfa)->nfa_len) - NFA_LENGTH(0))
/external/iptables/utils/
Dnfnl_osf.c276 char buf[NFNL_HEADER_LEN + NFA_LENGTH(sizeof(struct xt_osf_user_finger))]; in osf_load_line()
/external/libnfnetlink/src/
Dlibnfnetlink.c878 int len = NFA_LENGTH(alen); in nfnl_addattr_l()
912 int len = NFA_LENGTH(alen); in nfnl_nfa_addattr_l()
/external/libpcap/
Dpcap-netfilter-linux.c343 nfa->nfa_len = NFA_LENGTH(mynfa->nfa_len); in netfilter_send_config_msg()