blob: 26a394cb91a8fde2bb5a3f8716d25e073e4b1862 [file] [log] [blame]
Pablo Neira Ayuso99633ab2013-10-10 23:28:33 +02001#ifndef _NETNS_NFTABLES_H_
2#define _NETNS_NFTABLES_H_
3
4#include <linux/list.h>
5
6struct nft_af_info;
7
8struct netns_nftables {
9 struct list_head af_info;
Pablo Neira Ayuso0628b122013-10-14 11:05:33 +020010 struct list_head commit_list;
Pablo Neira Ayuso99633ab2013-10-10 23:28:33 +020011 struct nft_af_info *ipv4;
12 struct nft_af_info *ipv6;
Patrick McHardy1d491442014-01-03 12:16:16 +000013 struct nft_af_info *inet;
Pablo Neira Ayusoed683f12013-10-07 22:53:08 +020014 struct nft_af_info *arp;
Pablo Neira Ayuso99633ab2013-10-10 23:28:33 +020015 struct nft_af_info *bridge;
Pablo Neira Ayuso0628b122013-10-14 11:05:33 +020016 u8 gencursor;
17 u8 genctr;
Pablo Neira Ayuso99633ab2013-10-10 23:28:33 +020018};
19
20#endif