diff options
author | Pablo Neira Ayuso <pablo@netfilter.org> | 2009-06-02 14:03:35 -0400 |
---|---|---|
committer | pablo <pablo@1984.(none)> | 2009-06-02 14:03:35 -0400 |
commit | f2f3e38c63c58a3d39bd710039af8bbd15ecaff6 (patch) | |
tree | 5a67e8661b877dbd170867d72bf5b4387a49decb /include | |
parent | 8b0a231d4d6336baf10f13b6142fd5c1f628247e (diff) |
netfilter: ctnetlink: rename tuple() by nf_ct_tuple() macro definition
This patch move the internal tuple() macro definition to the
header file as nf_ct_tuple().
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netfilter/nf_conntrack.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_conntrack.h b/include/net/netfilter/nf_conntrack.h index 6c3f964de9e1..b909241b668e 100644 --- a/include/net/netfilter/nf_conntrack.h +++ b/include/net/netfilter/nf_conntrack.h | |||
@@ -144,6 +144,8 @@ static inline u_int8_t nf_ct_protonum(const struct nf_conn *ct) | |||
144 | return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; | 144 | return ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum; |
145 | } | 145 | } |
146 | 146 | ||
147 | #define nf_ct_tuple(ct, dir) (&(ct)->tuplehash[dir].tuple) | ||
148 | |||
147 | /* get master conntrack via master expectation */ | 149 | /* get master conntrack via master expectation */ |
148 | #define master_ct(conntr) (conntr->master) | 150 | #define master_ct(conntr) (conntr->master) |
149 | 151 | ||