Lines Matching refs:grec

2788 	struct igmpv3_grec *grec;  in br_ip4_multicast_igmp3_report()  local
2800 len += sizeof(*grec); in br_ip4_multicast_igmp3_report()
2804 grec = (void *)(skb->data + len - sizeof(*grec)); in br_ip4_multicast_igmp3_report()
2805 group = grec->grec_mca; in br_ip4_multicast_igmp3_report()
2806 type = grec->grec_type; in br_ip4_multicast_igmp3_report()
2807 nsrcs = ntohs(grec->grec_nsrcs); in br_ip4_multicast_igmp3_report()
2856 grec = (void *)(skb->data + len - sizeof(*grec) - (nsrcs * 4)); in br_ip4_multicast_igmp3_report()
2861 grec->grec_src, in br_ip4_multicast_igmp3_report()
2866 grec->grec_src, in br_ip4_multicast_igmp3_report()
2871 grec->grec_src, in br_ip4_multicast_igmp3_report()
2876 grec->grec_src, in br_ip4_multicast_igmp3_report()
2881 grec->grec_src, in br_ip4_multicast_igmp3_report()
2886 grec->grec_src, in br_ip4_multicast_igmp3_report()
2912 struct mld2_grec *grec; in br_ip6_multicast_mld2_report() local
2941 grec_len = struct_size(grec, grec_src, nsrcs); in br_ip6_multicast_mld2_report()
2946 grec = (struct mld2_grec *)(skb->data + len); in br_ip6_multicast_mld2_report()
2949 switch (grec->grec_type) { in br_ip6_multicast_mld2_report()
2963 if ((grec->grec_type == MLD2_CHANGE_TO_INCLUDE || in br_ip6_multicast_mld2_report()
2964 grec->grec_type == MLD2_MODE_IS_INCLUDE) && in br_ip6_multicast_mld2_report()
2968 &grec->grec_mca, in br_ip6_multicast_mld2_report()
2974 &grec->grec_mca, vid, in br_ip6_multicast_mld2_report()
2987 mdst = br_mdb_ip6_get(brmctx->br, &grec->grec_mca, vid); in br_ip6_multicast_mld2_report()
2994 switch (grec->grec_type) { in br_ip6_multicast_mld2_report()
2997 grec->grec_src, nsrcs, in br_ip6_multicast_mld2_report()
2999 grec->grec_type); in br_ip6_multicast_mld2_report()
3003 grec->grec_src, nsrcs, in br_ip6_multicast_mld2_report()
3005 grec->grec_type); in br_ip6_multicast_mld2_report()
3009 grec->grec_src, nsrcs, in br_ip6_multicast_mld2_report()
3011 grec->grec_type); in br_ip6_multicast_mld2_report()
3015 grec->grec_src, nsrcs, in br_ip6_multicast_mld2_report()
3017 grec->grec_type); in br_ip6_multicast_mld2_report()
3021 grec->grec_src, nsrcs, in br_ip6_multicast_mld2_report()
3023 grec->grec_type); in br_ip6_multicast_mld2_report()
3027 grec->grec_src, nsrcs, in br_ip6_multicast_mld2_report()
3029 grec->grec_type); in br_ip6_multicast_mld2_report()