18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0 */ 28c2ecf20Sopenharmony_ci#ifndef __NETNS_X_TABLES_H 38c2ecf20Sopenharmony_ci#define __NETNS_X_TABLES_H 48c2ecf20Sopenharmony_ci 58c2ecf20Sopenharmony_ci#include <linux/list.h> 68c2ecf20Sopenharmony_ci#include <linux/netfilter_defs.h> 78c2ecf20Sopenharmony_ci 88c2ecf20Sopenharmony_cistruct ebt_table; 98c2ecf20Sopenharmony_ci 108c2ecf20Sopenharmony_cistruct netns_xt { 118c2ecf20Sopenharmony_ci struct list_head tables[NFPROTO_NUMPROTO]; 128c2ecf20Sopenharmony_ci bool notrack_deprecated_warning; 138c2ecf20Sopenharmony_ci bool clusterip_deprecated_warning; 148c2ecf20Sopenharmony_ci#if defined(CONFIG_BRIDGE_NF_EBTABLES) || \ 158c2ecf20Sopenharmony_ci defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE) 168c2ecf20Sopenharmony_ci struct ebt_table *broute_table; 178c2ecf20Sopenharmony_ci struct ebt_table *frame_filter; 188c2ecf20Sopenharmony_ci struct ebt_table *frame_nat; 198c2ecf20Sopenharmony_ci#endif 208c2ecf20Sopenharmony_ci}; 218c2ecf20Sopenharmony_ci#endif 22