Lines Matching refs:vid
60 __u16 vid,
72 __u16 vid, const unsigned char *src);
120 __be32 dst, __u16 vid) in br_mdb_ip4_get() argument
127 br_dst.vid = vid; in br_mdb_ip4_get()
135 __u16 vid) in br_mdb_ip6_get() argument
142 br_dst.vid = vid; in br_mdb_ip6_get()
149 struct sk_buff *skb, u16 vid) in br_mdb_get() argument
163 ip.vid = vid; in br_mdb_get()
217 if (!pg->key.addr.vid || in br_multicast_pg_to_port_ctx()
228 vlan = br_vlan_find(nbp_vlan_group_rcu(pg->key.port), pg->key.addr.vid); in br_multicast_pg_to_port_ctx()
239 br_multicast_port_vid_to_port_ctx(struct net_bridge_port *port, u16 vid) in br_multicast_port_vid_to_port_ctx() argument
252 vlan = br_vlan_find(nbp_vlan_group_rcu(port), vid); in br_multicast_port_vid_to_port_ctx()
741 if (!group->vid) in br_multicast_port_ngroups_inc()
744 pmctx = br_multicast_port_vid_to_port_ctx(port, group->vid); in br_multicast_port_ngroups_inc()
761 static void br_multicast_port_ngroups_dec(struct net_bridge_port *port, u16 vid) in br_multicast_port_ngroups_dec() argument
767 if (vid) { in br_multicast_port_ngroups_dec()
768 pmctx = br_multicast_port_vid_to_port_ctx(port, vid); in br_multicast_port_ngroups_dec()
824 br_multicast_port_ngroups_dec(pg->key.port, pg->key.addr.vid); in br_multicast_del_pg()
921 __vlan_hwaccel_put_tag(skb, htons(vlan_proto), vlan->vid); in __br_multicast_query_handle_vlan()
1456 br_multicast_port_ngroups_dec(port, group->vid); in br_multicast_new_port_group()
1463 __u16 vid = p->key.addr.vid; in br_multicast_del_port_group() local
1470 br_multicast_port_ngroups_dec(port, vid); in br_multicast_del_port_group()
1580 __u16 vid, in br_ip4_multicast_add_group() argument
1593 br_group.vid = vid; in br_ip4_multicast_add_group()
1604 __u16 vid, in br_ip6_multicast_add_group() argument
1617 br_group.vid = vid; in br_ip6_multicast_add_group()
2100 if (pg->key.addr.vid == pmctx->vlan->vid) in __br_multicast_enable_port_ctx()
2125 pg->key.addr.vid == pmctx->vlan->vid)) in __br_multicast_disable_port_ctx()
2783 u16 vid) in br_ip4_multicast_igmp3_report() argument
2834 group, vid, src); in br_ip4_multicast_igmp3_report()
2839 vid, src, igmpv2); in br_ip4_multicast_igmp3_report()
2851 mdst = br_mdb_ip4_get(brmctx->br, group, vid); in br_ip4_multicast_igmp3_report()
2905 u16 vid) in br_ip6_multicast_mld2_report() argument
2971 vid, src); in br_ip6_multicast_mld2_report()
2976 &grec->grec_mca, vid, in br_ip6_multicast_mld2_report()
2989 mdst = br_mdb_ip6_get(brmctx->br, &grec->grec_mca, vid); in br_ip6_multicast_mld2_report()
3423 u16 vid) in br_ip4_multicast_query() argument
3473 mp = br_mdb_ip4_get(brmctx->br, group, vid); in br_ip4_multicast_query()
3504 u16 vid) in br_ip6_multicast_query() argument
3563 mp = br_mdb_ip6_get(brmctx->br, group, vid); in br_ip6_multicast_query()
3696 __u16 vid, in br_ip4_multicast_leave_group() argument
3710 br_group.vid = vid; in br_ip4_multicast_leave_group()
3721 __u16 vid, in br_ip6_multicast_leave_group() argument
3735 br_group.vid = vid; in br_ip6_multicast_leave_group()
3811 u16 vid) in br_multicast_ipv4_rcv() argument
3844 err = br_ip4_multicast_add_group(brmctx, pmctx, ih->group, vid, in br_multicast_ipv4_rcv()
3848 err = br_ip4_multicast_igmp3_report(brmctx, pmctx, skb, vid); in br_multicast_ipv4_rcv()
3851 br_ip4_multicast_query(brmctx, pmctx, skb, vid); in br_multicast_ipv4_rcv()
3854 br_ip4_multicast_leave_group(brmctx, pmctx, ih->group, vid, src); in br_multicast_ipv4_rcv()
3880 u16 vid) in br_multicast_ipv6_rcv() argument
3910 vid, src, true); in br_multicast_ipv6_rcv()
3913 err = br_ip6_multicast_mld2_report(brmctx, pmctx, skb, vid); in br_multicast_ipv6_rcv()
3916 err = br_ip6_multicast_query(brmctx, pmctx, skb, vid); in br_multicast_ipv6_rcv()
3920 br_ip6_multicast_leave_group(brmctx, pmctx, &mld->mld_mca, vid, in br_multicast_ipv6_rcv()
3935 struct sk_buff *skb, u16 vid) in br_multicast_rcv() argument
3967 ret = br_multicast_ipv4_rcv(*brmctx, *pmctx, skb, vid); in br_multicast_rcv()
3971 ret = br_multicast_ipv6_rcv(*brmctx, *pmctx, skb, vid); in br_multicast_rcv()
4268 vport = br_vlan_find(nbp_vlan_group(p), vlan->vid); in br_multicast_toggle_vlan()
4531 brmctx->vlan->vid); in br_multicast_start_querier()