diff options
author | Nikolay Aleksandrov <nikolay@cumulusnetworks.com> | 2018-09-26 16:01:01 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-09-26 19:04:23 +0200 |
commit | 8df3510f28e5cba2e94fecb40585e9b7e8a0c6ec (patch) | |
tree | 895734a88f78a9ef2e96f0de10b3285b76ee1766 /net/bridge/br_private.h | |
parent | net: bridge: add bitfield for options and convert vlan opts (diff) | |
download | linux-8df3510f28e5cba2e94fecb40585e9b7e8a0c6ec.tar.xz linux-8df3510f28e5cba2e94fecb40585e9b7e8a0c6ec.zip |
net: bridge: convert nf call options to bits
No functional change, convert of nf_call_[ip|ip6|arp]tables to bits.
Signed-off-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
Reviewed-by: Stephen Hemminger <stephen@networkplumber.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/bridge/br_private.h')
-rw-r--r-- | net/bridge/br_private.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/bridge/br_private.h b/net/bridge/br_private.h index 0abb632283ff..d8eadab09d7d 100644 --- a/net/bridge/br_private.h +++ b/net/bridge/br_private.h @@ -309,6 +309,9 @@ static inline struct net_bridge_port *br_port_get_rtnl_rcu(const struct net_devi enum net_bridge_opts { BROPT_VLAN_ENABLED, BROPT_VLAN_STATS_ENABLED, + BROPT_NF_CALL_IPTABLES, + BROPT_NF_CALL_IP6TABLES, + BROPT_NF_CALL_ARPTABLES, }; struct net_bridge { @@ -331,9 +334,6 @@ struct net_bridge { struct rtable fake_rtable; struct rt6_info fake_rt6_info; }; - bool nf_call_iptables; - bool nf_call_ip6tables; - bool nf_call_arptables; #endif u16 group_fwd_mask; u16 group_fwd_mask_required; |