git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
netfilter: nf_tables: restrict nat/masq expressions to nat chain type
[pandora-kernel.git]
/
include
/
net
/
netfilter
/
nf_tables.h
diff --git
a/include/net/netfilter/nf_tables.h
b/include/net/netfilter/nf_tables.h
index
3d72923
..
845c596
100644
(file)
--- a/
include/net/netfilter/nf_tables.h
+++ b/
include/net/netfilter/nf_tables.h
@@
-530,6
+530,9
@@
enum nft_chain_type {
NFT_CHAIN_T_MAX
};
+int nft_chain_validate_dependency(const struct nft_chain *chain,
+ enum nft_chain_type type);
+
struct nft_stats {
u64 bytes;
u64 pkts;