Linux Audio

Check our new training course

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