/linux-6.1.9/net/bridge/ ! |
D | br_mst.c | 21 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()
|
D | br_vlan.c | 238 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 …]
|
D | br.c | 284 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()
|
D | br_sysfs_br.c | 412 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()
|
D | br_arp_nd_proxy.c | 160 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()
|
D | br_device.c | 66 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()
|
D | br_multicast.c | 153 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 …]
|
D | br_netlink.c | 572 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()
|
D | br_input.c | 148 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()
|
D | br_mdb.c | 326 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()
|
D | br_private.h | 719 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()
|
D | br_netfilter_hooks.c | 499 !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()
|
D | br_if.c | 517 if (br_opt_get(br, BROPT_MTU_SET_BY_USER)) in br_mtu_auto_adjust()
|
D | br_stp.c | 46 if (br_opt_get(p->br, BROPT_MST_ENABLED)) { in br_set_state()
|
D | br_vlan_options.c | 102 if (br_opt_get(br, BROPT_MST_ENABLED)) { in br_vlan_modify_state()
|
D | br_switchdev.c | 664 if (!br_opt_get(br, BROPT_MULTICAST_ENABLED)) in br_switchdev_mdb_replay()
|