Remove conditions for including struct net members based on kernel configs CONFIG_IP_SCTP, CONFIG_NETFILTER_FAMILY_BRIDGE and CONFIG_BRIDGE_NF_EBTABLES. Bug: 151115806 Test: build Signed-off-by: Suren Baghdasaryan <surenb@google.com> Change-Id: I6b0e75f0976ab79ea933fe64bc73ba08c9e7c71a
19 lines
410 B
C
19 lines
410 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef __NETNS_X_TABLES_H
|
|
#define __NETNS_X_TABLES_H
|
|
|
|
#include <linux/list.h>
|
|
#include <linux/netfilter_defs.h>
|
|
|
|
struct ebt_table;
|
|
|
|
struct netns_xt {
|
|
struct list_head tables[NFPROTO_NUMPROTO];
|
|
bool notrack_deprecated_warning;
|
|
bool clusterip_deprecated_warning;
|
|
struct ebt_table *broute_table;
|
|
struct ebt_table *frame_filter;
|
|
struct ebt_table *frame_nat;
|
|
};
|
|
#endif
|