Home
last modified time | relevance | path

Searched refs:pmctx (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/net/bridge/
H A Dbr_multicast.c235 return pmctx; in br_multicast_pg_to_port_ctx()
258 return pmctx; in br_multicast_port_vid_to_port_ctx()
273 if (pmctx) in br_multicast_ctx_should_use()
359 if (!pmctx) in br_multicast_star_g_handle_mode()
500 if (!pmctx) in br_multicast_sg_add_exclude_ports()
528 if (!pmctx) in br_multicast_fwd_src_add()
745 if (!pmctx) in br_multicast_port_ngroups_inc()
769 if (pmctx) in br_multicast_port_ngroups_dec()
911 if (pmctx && br_multicast_port_ctx_is_vlan(pmctx)) in __br_multicast_query_handle_vlan()
1864 if (pmctx ? (own_query == &pmctx->ip4_own_query) : in br_multicast_send_query()
[all …]
H A Dbr_private.h953 struct net_bridge_mcast_port **pmctx,
1043 struct net_bridge_mcast_port *pmctx);
1230 return !!pmctx->vlan; in br_multicast_port_ctx_is_vlan()
1236 if (!br_multicast_port_ctx_is_vlan(pmctx)) in br_multicast_port_ctx_get_global()
1237 return &pmctx->port->br->multicast_ctx; in br_multicast_port_ctx_get_global()
1239 return &pmctx->vlan->brvlan->br_mcast_ctx; in br_multicast_port_ctx_get_global()
1260 return br_multicast_port_ctx_is_vlan(pmctx) && in br_multicast_port_ctx_vlan_disabled()
1270 pmctx->vlan->state == BR_STATE_DISABLED)); in br_multicast_port_ctx_state_disabled()
1279 pmctx->vlan->state == BR_STATE_BLOCKING); in br_multicast_port_ctx_state_stopped()
1338 struct net_bridge_mcast_port **pmctx, in br_multicast_rcv() argument
[all …]
H A Dbr_mdb.c20 br_ip4_rports_get_timer(struct net_bridge_mcast_port *pmctx, in br_ip4_rports_get_timer() argument
23 *timer = br_timer_value(&pmctx->ip4_mc_router_timer); in br_ip4_rports_get_timer()
24 return !hlist_unhashed(&pmctx->ip4_rlist); in br_ip4_rports_get_timer()
32 *timer = br_timer_value(&pmctx->ip6_mc_router_timer); in br_ip6_rports_get_timer()
33 return !hlist_unhashed(&pmctx->ip6_rlist); in br_ip6_rports_get_timer()
52 struct net_bridge_mcast_port *pmctx; in br_rports_size() local
87 struct net_bridge_mcast_port *pmctx; in br_rports_fill_info() local
95 pmctx = &v->port_mcast_ctx; in br_rports_fill_info()
97 pmctx = &p->multicast_ctx; in br_rports_fill_info()
598 ifindex = pmctx ? pmctx->port->dev->ifindex : 0; in br_rtr_notify()
[all …]
H A Dbr_input.c81 struct net_bridge_mcast_port *pmctx; in br_handle_frame_finish() local
106 pmctx = &p->multicast_ctx; in br_handle_frame_finish()
153 if (br_multicast_rcv(&brmctx, &pmctx, vlan, skb, vid)) in br_handle_frame_finish()