OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:nfattr
(Results
1 - 25
of
100
) sorted by null
1
2
3
4
/bionic/libc/kernel/uapi/linux/netfilter/
nfnetlink_compat.h
30
struct
nfattr
{
struct
40
#define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct
nfattr
) && (nfa)->nfa_len <= (len))
41
#define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), (struct
nfattr
*) (((char *) (nfa)) + NFA_ALIGN((nfa)->nfa_len)))
42
#define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct
nfattr
)) + (len))
48
({ struct
nfattr
* __start = (struct
nfattr
*) skb_tail_pointer(skb); NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
54
#define NFM_NFA(n) ((struct
nfattr
*) (((char *) (n)) + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
/development/ndk/platforms/android-21/include/linux/netfilter/
nfnetlink_compat.h
30
struct
nfattr
{
struct
40
#define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct
nfattr
) && (nfa)->nfa_len <= (len))
41
#define NFA_NEXT(nfa,attrlen) ((attrlen) -= NFA_ALIGN((nfa)->nfa_len), (struct
nfattr
*)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))
42
#define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct
nfattr
)) + (len))
47
#define NFA_NEST(skb, type) ({ struct
nfattr
*__start = (struct
nfattr
*)skb_tail_pointer(skb); NFA_PUT(skb, (NFNL_NFA_NEST | type), 0, NULL); __start; })
51
#define NFM_NFA(n) ((struct
nfattr
*)(((char *)(n)) + NLMSG_ALIGN(sizeof(struct nfgenmsg))))
/external/kernel-headers/original/uapi/linux/netfilter/
nfnetlink_compat.h
24
struct
nfattr
{
struct
38
#define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct
nfattr
) \
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/libnfnetlink/include/libnfnetlink/
linux_nfnetlink_compat.h
21
struct
nfattr
struct
36
#define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct
nfattr
) \
39
(struct
nfattr
*)(((char *)(nfa)) + NFA_ALIGN((nfa)->nfa_len)))
40
#define NFA_LENGTH(len) (NFA_ALIGN(sizeof(struct
nfattr
)) + (len))
45
({ struct
nfattr
*__start = (struct
nfattr
*)skb_tail_pointer(skb); \
56
#define NFM_NFA(n) ((struct
nfattr
*)(((char *)(n)) \
/external/libnl/include/linux-private/linux/netfilter/
nfnetlink_compat.h
24
struct
nfattr
{
struct
38
#define NFA_OK(nfa,len) ((len) > 0 && (nfa)->nfa_len >= sizeof(struct
nfattr
) \
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)) \