summaryrefslogtreecommitdiffstats
path: root/kernel/include/net/netns/nftables.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/net/netns/nftables.h')
-rw-r--r--kernel/include/net/netns/nftables.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/include/net/netns/nftables.h b/kernel/include/net/netns/nftables.h
new file mode 100644
index 000000000..eee608b12
--- /dev/null
+++ b/kernel/include/net/netns/nftables.h
@@ -0,0 +1,20 @@
+#ifndef _NETNS_NFTABLES_H_
+#define _NETNS_NFTABLES_H_
+
+#include <linux/list.h>
+
+struct nft_af_info;
+
+struct netns_nftables {
+ struct list_head af_info;
+ struct list_head commit_list;
+ struct nft_af_info *ipv4;
+ struct nft_af_info *ipv6;
+ struct nft_af_info *inet;
+ struct nft_af_info *arp;
+ struct nft_af_info *bridge;
+ unsigned int base_seq;
+ u8 gencursor;
+};
+
+#endif