netfilter: nf_tables: add single table list for all families
[platform/kernel/linux-rpi.git] / include / net / netns / nftables.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _NETNS_NFTABLES_H_
3 #define _NETNS_NFTABLES_H_
4
5 #include <linux/list.h>
6
7 struct nft_af_info;
8
9 struct netns_nftables {
10         struct list_head        af_info;
11         struct list_head        tables;
12         struct list_head        commit_list;
13         struct nft_af_info      *ipv4;
14         struct nft_af_info      *ipv6;
15         struct nft_af_info      *inet;
16         struct nft_af_info      *arp;
17         struct nft_af_info      *bridge;
18         struct nft_af_info      *netdev;
19         unsigned int            base_seq;
20         u8                      gencursor;
21 };
22
23 #endif