blob: c807811460191dd20c1ba13eb5be8e6555c97167 [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 Ayusoed6c4132015-05-26 18:41:40 +020016 struct nft_af_info *netdev;
Pablo Neira Ayuso38e029f2014-07-01 12:23:12 +020017 unsigned int base_seq;
Pablo Neira Ayuso0628b122013-10-14 11:05:33 +020018 u8 gencursor;
Pablo Neira Ayuso99633ab2013-10-10 23:28:33 +020019};
20
21#endif