Pablo Neira Ayuso | 99633ab | 2013-10-10 23:28:33 +0200 | [diff] [blame] | 1 | #ifndef _NETNS_NFTABLES_H_ |
| 2 | #define _NETNS_NFTABLES_H_ |
| 3 | |
| 4 | #include <linux/list.h> |
| 5 | |
| 6 | struct nft_af_info; |
| 7 | |
| 8 | struct netns_nftables { |
| 9 | struct list_head af_info; |
Pablo Neira Ayuso | 0628b12 | 2013-10-14 11:05:33 +0200 | [diff] [blame] | 10 | struct list_head commit_list; |
Pablo Neira Ayuso | 99633ab | 2013-10-10 23:28:33 +0200 | [diff] [blame] | 11 | struct nft_af_info *ipv4; |
| 12 | struct nft_af_info *ipv6; |
Patrick McHardy | 1d49144 | 2014-01-03 12:16:16 +0000 | [diff] [blame] | 13 | struct nft_af_info *inet; |
Pablo Neira Ayuso | ed683f1 | 2013-10-07 22:53:08 +0200 | [diff] [blame] | 14 | struct nft_af_info *arp; |
Pablo Neira Ayuso | 99633ab | 2013-10-10 23:28:33 +0200 | [diff] [blame] | 15 | struct nft_af_info *bridge; |
Pablo Neira Ayuso | ed6c413 | 2015-05-26 18:41:40 +0200 | [diff] [blame] | 16 | struct nft_af_info *netdev; |
Pablo Neira Ayuso | 38e029f | 2014-07-01 12:23:12 +0200 | [diff] [blame] | 17 | unsigned int base_seq; |
Pablo Neira Ayuso | 0628b12 | 2013-10-14 11:05:33 +0200 | [diff] [blame] | 18 | u8 gencursor; |
Pablo Neira Ayuso | 99633ab | 2013-10-10 23:28:33 +0200 | [diff] [blame] | 19 | }; |
| 20 | |
| 21 | #endif |