Home
last modified time | relevance | path

Searched refs:br_opt_get (Results 1 – 16 of 16) sorted by relevance

/linux-6.1.9/net/bridge/ !
Dbr_mst.c21 return br_opt_get(netdev_priv(dev), BROPT_MST_ENABLED); in br_mst_enabled()
37 if (!br_opt_get(br, BROPT_MST_ENABLED)) in br_mst_get_info()
60 if (!p || !br_opt_get(p->br, BROPT_MST_ENABLED)) in br_mst_get_state()
217 if (br_opt_get(br, BROPT_MST_ENABLED) == on) in br_mst_set_enabled()
332 if (!br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_mst_process()
Dbr_vlan.c238 if (br_opt_get(br, BROPT_MST_ENABLED)) { in br_vlan_init_state()
309 if (br_opt_get(br, BROPT_VLAN_STATS_PER_PORT)) { in __vlan_add()
505 if (br_opt_get(br, BROPT_VLAN_STATS_ENABLED)) { in br_handle_vlan()
604 if (!br_opt_get(br, BROPT_MCAST_VLAN_SNOOPING_ENABLED) && in __allowed_ingress()
605 !br_opt_get(br, BROPT_VLAN_STATS_ENABLED)) { in __allowed_ingress()
624 if (br_opt_get(br, BROPT_VLAN_STATS_ENABLED)) { in __allowed_ingress()
650 if (!br_opt_get(br, BROPT_VLAN_ENABLED)) { in br_allowed_ingress()
686 if (!br_opt_get(br, BROPT_VLAN_ENABLED)) in br_should_learn()
859 if (br_opt_get(br, BROPT_GROUP_ADDR_SET)) in recalculate_group_addr()
863 if (!br_opt_get(br, BROPT_VLAN_ENABLED) || in recalculate_group_addr()
[all …]
Dbr.c284 return br_opt_get(br, BROPT_NO_LL_LEARN); in br_boolopt_get()
286 return br_opt_get(br, BROPT_MCAST_VLAN_SNOOPING_ENABLED); in br_boolopt_get()
288 return br_opt_get(br, BROPT_MST_ENABLED); in br_boolopt_get()
336 bool cur = !!br_opt_get(br, opt); in br_opt_toggle()
Dbr_sysfs_br.c412 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_MULTICAST_ENABLED)); in multicast_snooping_show()
429 br_opt_get(br, BROPT_MULTICAST_QUERY_USE_IFADDR)); in multicast_query_use_ifaddr_show()
731 br_opt_get(br, BROPT_MULTICAST_STATS_ENABLED)); in multicast_stats_enabled_show()
780 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IPTABLES)); in nf_call_iptables_show()
802 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_IP6TABLES)); in nf_call_ip6tables_show()
824 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_NF_CALL_ARPTABLES)); in nf_call_arptables_show()
848 return sprintf(buf, "%d\n", br_opt_get(br, BROPT_VLAN_ENABLED)); in vlan_filtering_show()
896 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_ENABLED)); in vlan_stats_enabled_show()
918 return sprintf(buf, "%u\n", br_opt_get(br, BROPT_VLAN_STATS_PER_PORT)); in vlan_stats_per_port_show()
Dbr_arp_nd_proxy.c160 if (br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED)) { in br_do_proxy_suppress_arp()
182 if (br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED) && in br_do_proxy_suppress_arp()
222 br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED)) in br_do_proxy_suppress_arp()
479 br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED)) in br_do_suppress_nd()
Dbr_device.c66 br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED)) { in br_dev_xmit()
70 br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED) && in br_dev_xmit()
180 if (br_opt_get(br, BROPT_MULTICAST_ENABLED)) in br_dev_open()
203 if (br_opt_get(br, BROPT_MULTICAST_ENABLED)) in br_dev_stop()
Dbr_multicast.c153 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED) || in br_mdb_get()
217 !br_opt_get(pg->key.port->br, BROPT_MCAST_VLAN_SNOOPING_ENABLED)) in br_multicast_pg_to_port_ctx()
871 iph->saddr = br_opt_get(brmctx->br, BROPT_MULTICAST_QUERY_USE_IFADDR) ? in br_ip4_multicast_alloc_query()
1583 !br_opt_get(brmctx->br, BROPT_MULTICAST_ENABLED)) in br_multicast_querier_expired()
1700 !br_opt_get(brmctx->br, BROPT_MULTICAST_ENABLED) || in br_multicast_send_query()
1789 !br_opt_get(br, BROPT_MULTICAST_ENABLED)) in br_multicast_port_group_rexmit()
1872 br_opt_get(port->br, in br_multicast_add_port()
1918 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED) || in __br_multicast_enable_port_ctx()
2003 !br_opt_get(brmctx->br, BROPT_MULTICAST_ENABLED)) in __grp_src_query_marked_and_rexmit()
2048 !br_opt_get(brmctx->br, BROPT_MULTICAST_ENABLED)) in __grp_send_query_and_rexmit()
[all …]
Dbr_netlink.c572 br_opt_get(br, BROPT_MST_ENABLED) && port) { in br_fill_ifinfo()
1624 br_opt_get(br, BROPT_VLAN_STATS_ENABLED)) || in br_fill_info()
1626 br_opt_get(br, BROPT_VLAN_STATS_PER_PORT))) in br_fill_info()
1633 br_opt_get(br, BROPT_MULTICAST_ENABLED)) || in br_fill_info()
1635 br_opt_get(br, BROPT_MULTICAST_QUERY_USE_IFADDR)) || in br_fill_info()
1639 br_opt_get(br, BROPT_MULTICAST_STATS_ENABLED)) || in br_fill_info()
1683 br_opt_get(br, BROPT_NF_CALL_IPTABLES) ? 1 : 0) || in br_fill_info()
1685 br_opt_get(br, BROPT_NF_CALL_IP6TABLES) ? 1 : 0) || in br_fill_info()
1687 br_opt_get(br, BROPT_NF_CALL_ARPTABLES) ? 1 : 0)) in br_fill_info()
Dbr_input.c148 br_opt_get(br, BROPT_NEIGH_SUPPRESS_ENABLED) && in br_handle_frame_finish()
217 !br_opt_get(p->br, BROPT_NO_LL_LEARN) && in __br_handle_local_finish()
Dbr_mdb.c326 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED)) in br_mdb_fill_info()
832 if (!br_opt_get(br, BROPT_MCAST_VLAN_SNOOPING_ENABLED)) { in __br_mdb_choose_context()
1006 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED)) { in br_mdb_add()
1063 if (!netif_running(br->dev) || !br_opt_get(br, BROPT_MULTICAST_ENABLED)) in __br_mdb_del()
Dbr_private.h719 static inline int br_opt_get(const struct net_bridge *br, in br_opt_get() function
1078 if (is_ipv6 && !br_opt_get(brmctx->br, BROPT_HAS_IPV6_ADDR)) in __br_multicast_querier_exists()
1179 (!br_opt_get(brmctx->br, BROPT_MCAST_VLAN_SNOOPING_ENABLED) || in br_multicast_ctx_vlan_global_disabled()
1264 vlan_snooping_enabled = !!br_opt_get(brmctx->br, in br_multicast_ctx_matches_vlan_snooping()
1795 br_opt_get(br, BROPT_MST_ENABLED); in br_mst_is_enabled()
Dbr_netfilter_hooks.c499 !br_opt_get(br, BROPT_NF_CALL_IP6TABLES)) in br_nf_pre_routing()
510 if (!brnet->call_iptables && !br_opt_get(br, BROPT_NF_CALL_IPTABLES)) in br_nf_pre_routing()
658 if (!brnet->call_arptables && !br_opt_get(br, BROPT_NF_CALL_ARPTABLES)) in br_nf_forward_arp()
Dbr_if.c517 if (br_opt_get(br, BROPT_MTU_SET_BY_USER)) in br_mtu_auto_adjust()
Dbr_stp.c46 if (br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_set_state()
Dbr_vlan_options.c102 if (br_opt_get(br, BROPT_MST_ENABLED)) { in br_vlan_modify_state()
Dbr_switchdev.c664 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED)) in br_switchdev_mdb_replay()