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 | 0628b12 | 2013-10-14 11:05:33 +0200 | [diff] [blame] | 16 | u8 gencursor; |
| 17 | u8 genctr; |
Pablo Neira Ayuso | 99633ab | 2013-10-10 23:28:33 +0200 | [diff] [blame] | 18 | }; |
| 19 | |
| 20 | #endif |