^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 1) /* SPDX-License-Identifier: GPL-2.0 */
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 2) #ifndef __NETNS_X_TABLES_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 3) #define __NETNS_X_TABLES_H
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 4)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 5) #include <linux/list.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 6) #include <linux/netfilter_defs.h>
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 7)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 8) struct ebt_table;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 9)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 10) struct netns_xt {
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 11) struct list_head tables[NFPROTO_NUMPROTO];
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 12) bool notrack_deprecated_warning;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 13) bool clusterip_deprecated_warning;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 14) #if defined(CONFIG_BRIDGE_NF_EBTABLES) || \
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 15) defined(CONFIG_BRIDGE_NF_EBTABLES_MODULE)
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 16) struct ebt_table *broute_table;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 17) struct ebt_table *frame_filter;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 18) struct ebt_table *frame_nat;
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 19) #endif
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 20) };
^8f3ce5b39 (kx 2023-10-28 12:00:06 +0300 21) #endif