Home
last modified time | relevance | path

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

/linux-6.1.9/net/bridge/
Dbr_multicast.c55 struct net_bridge_mcast_port *pmctx);
57 struct net_bridge_mcast_port *pmctx,
64 br_multicast_rport_del_notify(struct net_bridge_mcast_port *pmctx, bool deleted);
66 struct net_bridge_mcast_port *pmctx);
69 struct net_bridge_mcast_port *pmctx,
75 struct net_bridge_mcast_port *pmctx,
210 struct net_bridge_mcast_port *pmctx = &pg->key.port->multicast_ctx; in br_multicast_pg_to_port_ctx() local
229 pmctx = &vlan->port_mcast_ctx; in br_multicast_pg_to_port_ctx()
231 pmctx = NULL; in br_multicast_pg_to_port_ctx()
234 return pmctx; in br_multicast_pg_to_port_ctx()
[all …]
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()
28 br_ip6_rports_get_timer(struct net_bridge_mcast_port *pmctx, in br_ip6_rports_get_timer() argument
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
56 hlist_for_each_entry_rcu(pmctx, &brmctx->ip4_mc_router_list, in br_rports_size()
61 hlist_for_each_entry_rcu(pmctx, &brmctx->ip6_mc_router_list, in br_rports_size()
87 struct net_bridge_mcast_port *pmctx; in br_rports_fill_info() local
[all …]
Dbr_private.h899 struct net_bridge_mcast_port **pmctx,
918 int br_multicast_set_port_router(struct net_bridge_mcast_port *pmctx,
944 void br_rtr_notify(struct net_device *dev, struct net_bridge_mcast_port *pmctx,
976 struct net_bridge_mcast_port *pmctx);
977 void br_multicast_port_ctx_deinit(struct net_bridge_mcast_port *pmctx);
1161 br_multicast_port_ctx_is_vlan(const struct net_bridge_mcast_port *pmctx) in br_multicast_port_ctx_is_vlan() argument
1163 return !!pmctx->vlan; in br_multicast_port_ctx_is_vlan()
1167 br_multicast_port_ctx_get_global(const struct net_bridge_mcast_port *pmctx) in br_multicast_port_ctx_get_global() argument
1169 if (!br_multicast_port_ctx_is_vlan(pmctx)) in br_multicast_port_ctx_get_global()
1170 return &pmctx->port->br->multicast_ctx; in br_multicast_port_ctx_get_global()
[all …]
Dbr_input.c79 struct net_bridge_mcast_port *pmctx; in br_handle_frame_finish() local
103 pmctx = &p->multicast_ctx; in br_handle_frame_finish()
131 if (br_multicast_rcv(&brmctx, &pmctx, vlan, skb, vid)) in br_handle_frame_finish()