2017-11-06 02:38:20 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0 */
|
2017-08-10 13:25:24 +00:00
|
|
|
#ifndef _NETNS_NFTABLES_H_
|
|
|
|
#define _NETNS_NFTABLES_H_
|
|
|
|
|
|
|
|
#include <linux/list.h>
|
|
|
|
|
|
|
|
struct nft_af_info;
|
|
|
|
|
|
|
|
struct netns_nftables {
|
|
|
|
struct list_head af_info;
|
|
|
|
struct list_head commit_list;
|
|
|
|
struct nft_af_info *ipv4;
|
|
|
|
struct nft_af_info *ipv6;
|
|
|
|
struct nft_af_info *inet;
|
|
|
|
struct nft_af_info *arp;
|
|
|
|
struct nft_af_info *bridge;
|
|
|
|
struct nft_af_info *netdev;
|
|
|
|
unsigned int base_seq;
|
|
|
|
u8 gencursor;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|