diff options
author | Pablo Neira Ayuso | 2013-10-10 16:49:19 +0200 |
---|---|---|
committer | Pablo Neira Ayuso | 2013-10-14 18:01:02 +0200 |
commit | b5bc89bfa0b46de37754610f46c0ef4e2280edb4 (patch) | |
tree | f68a807452f3fc48f2335d4ba3fa5c983de24a84 /include | |
parent | 0628b123c96d126e617beb3b4fd63b874d0e4f17 (diff) |
netfilter: nf_tables: add trace support
This patch adds support for tracing the packet travel through
the ruleset, in a similar fashion to x_tables.
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/netfilter/nf_tables.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/netfilter/nf_tables.h b/include/net/netfilter/nf_tables.h index 975ad3c573c7..54c4a5cafb64 100644 --- a/include/net/netfilter/nf_tables.h +++ b/include/net/netfilter/nf_tables.h @@ -392,6 +392,7 @@ enum nft_chain_flags { * @list: used internally * @rcu_head: used internally * @net: net namespace that this chain belongs to + * @table: table that this chain belongs to * @handle: chain handle * @flags: bitmask of enum nft_chain_flags * @use: number of jump references to this chain @@ -403,6 +404,7 @@ struct nft_chain { struct list_head list; struct rcu_head rcu_head; struct net *net; + struct nft_table *table; u64 handle; u8 flags; u16 use; |