/linux-6.3-rc2/net/bridge/ |
A D | br_multicast.c | 1715 struct net_bridge_mcast *brmctx = from_timer(brmctx, t, in br_ip4_multicast_local_router_expired() local 1724 struct net_bridge_mcast *brmctx = from_timer(brmctx, t, in br_ip6_multicast_local_router_expired() local 1748 struct net_bridge_mcast *brmctx = from_timer(brmctx, t, in br_ip4_multicast_querier_expired() local 1751 br_multicast_querier_expired(brmctx, &brmctx->ip4_own_query); in br_ip4_multicast_querier_expired() 1757 struct net_bridge_mcast *brmctx = from_timer(brmctx, t, in br_ip6_multicast_querier_expired() local 1760 br_multicast_querier_expired(brmctx, &brmctx->ip6_own_query); in br_ip6_multicast_querier_expired() 3995 struct net_bridge_mcast *brmctx = from_timer(brmctx, t, in br_ip4_multicast_query_expired() local 3998 br_multicast_query_expired(brmctx, &brmctx->ip4_own_query, in br_ip4_multicast_query_expired() 4005 struct net_bridge_mcast *brmctx = from_timer(brmctx, t, in br_ip6_multicast_query_expired() local 4008 br_multicast_query_expired(brmctx, &brmctx->ip6_own_query, in br_ip6_multicast_query_expired() [all …]
|
A D | br_multicast_eht.c | 410 br_multicast_create_eht_set_entry(brmctx, pg, &zero_addr, in br_eht_convert_host_filter_mode() 447 mod_timer(&set_h->timer, jiffies + br_multicast_gmi(brmctx)); in br_multicast_create_eht_set_entry() 448 mod_timer(&eht_set->timer, jiffies + br_multicast_gmi(brmctx)); in br_multicast_create_eht_set_entry() 519 br_multicast_create_eht_set_entry(brmctx, pg, &eht_src_addr, in __eht_create_set_entries() 567 __eht_create_set_entries(brmctx, pg, h_addr, srcs, nsrcs, in br_multicast_eht_allow() 603 static bool __eht_inc_exc(const struct net_bridge_mcast *brmctx, in __eht_inc_exc() argument 708 br_multicast_eht_allow(brmctx, pg, h_addr, srcs, nsrcs, in __eht_ip4_handle() 719 changed = br_multicast_eht_inc(brmctx, pg, h_addr, srcs, nsrcs, in __eht_ip4_handle() 746 br_multicast_eht_allow(brmctx, pg, h_addr, srcs, nsrcs, in __eht_ip6_handle() 794 changed = __eht_ip4_handle(brmctx, pg, &eht_host_addr, srcs, in br_multicast_eht_handle() [all …]
|
A D | br_private.h | 936 struct net_bridge_mcast *brmctx, 1003 struct net_bridge_mcast *brmctx); 1015 const struct net_bridge_mcast *brmctx); 1082 switch (brmctx->multicast_router) { in br_multicast_is_router() 1108 if (brmctx->multicast_querier) { in __br_multicast_querier_exists() 1128 &brmctx->ip4_other_query, false); in br_multicast_querier_exists() 1132 &brmctx->ip6_other_query, true); in br_multicast_querier_exists() 1188 return !!brmctx->vlan; in br_multicast_ctx_is_vlan() 1209 return br_multicast_ctx_is_vlan(brmctx) && in br_multicast_ctx_vlan_global_disabled() 1359 struct net_bridge_mcast *brmctx, in br_multicast_flood() argument [all …]
|
A D | br_mdb.c | 71 const struct net_bridge_mcast *brmctx) in br_rports_fill_info() argument 73 u16 vid = brmctx->vlan ? brmctx->vlan->vid : 0; in br_rports_fill_info() 79 if (!brmctx->multicast_router || !br_rports_have_mc_router(brmctx)) in br_rports_fill_info() 787 brmctx = &br->multicast_ctx; in __br_mdb_choose_context() 805 brmctx = &v->br_mcast_ctx; in __br_mdb_choose_context() 807 return brmctx; in __br_mdb_choose_context() 813 struct net_bridge_mcast *brmctx, in br_mdb_replace_group_sg() argument 921 struct net_bridge_mcast *brmctx, in br_mdb_add_group_src() argument 974 struct net_bridge_mcast *brmctx, in br_mdb_add_group_srcs() argument 1118 struct net_bridge_mcast *brmctx; in br_mdb_add_group() local [all …]
|
A D | br_input.c | 82 struct net_bridge_mcast *brmctx; in br_handle_frame_finish() local 102 brmctx = &p->br->multicast_ctx; in br_handle_frame_finish() 148 if (br_multicast_rcv(&brmctx, &pmctx, vlan, skb, vid)) in br_handle_frame_finish() 178 mdst = br_mdb_get(brmctx, skb, vid); in br_handle_frame_finish() 180 br_multicast_querier_exists(brmctx, eth_hdr(skb), mdst)) { in br_handle_frame_finish() 182 br_multicast_is_router(brmctx, skb)) { in br_handle_frame_finish() 212 br_multicast_flood(mdst, skb, brmctx, local_rcv, false); in br_handle_frame_finish()
|
A D | br_device.c | 32 struct net_bridge_mcast *brmctx = &br->multicast_ctx; in br_dev_xmit() local 89 if (br_multicast_rcv(&brmctx, &pmctx_null, vlan, skb, vid)) { in br_dev_xmit() 94 mdst = br_mdb_get(brmctx, skb, vid); in br_dev_xmit() 96 br_multicast_querier_exists(brmctx, eth_hdr(skb), mdst)) in br_dev_xmit() 97 br_multicast_flood(mdst, skb, brmctx, false, true); in br_dev_xmit()
|
A D | br_forward.c | 279 struct net_bridge_mcast *brmctx, in br_multicast_flood() argument 287 rp = br_multicast_get_first_rport_node(brmctx, skb); in br_multicast_flood() 291 if (br_multicast_should_handle_mode(brmctx, mdst->addr.proto) && in br_multicast_flood()
|
A D | br_private_mcast_eht.h | 54 bool br_multicast_eht_handle(const struct net_bridge_mcast *brmctx,
|