Lines Matching refs:mld2q
1086 struct mld2_query *mld2q; in br_ip6_multicast_alloc_query() local
1100 mld_hdr_size = sizeof(*mld2q); in br_ip6_multicast_alloc_query()
1187 mld2q = (struct mld2_query *)icmp6_hdr(skb); in br_ip6_multicast_alloc_query()
1188 mld2q->mld2q_mrc = htons((u16)jiffies_to_msecs(interval)); in br_ip6_multicast_alloc_query()
1189 mld2q->mld2q_type = ICMPV6_MGM_QUERY; in br_ip6_multicast_alloc_query()
1190 mld2q->mld2q_code = 0; in br_ip6_multicast_alloc_query()
1191 mld2q->mld2q_cksum = 0; in br_ip6_multicast_alloc_query()
1192 mld2q->mld2q_resv1 = 0; in br_ip6_multicast_alloc_query()
1193 mld2q->mld2q_resv2 = 0; in br_ip6_multicast_alloc_query()
1194 mld2q->mld2q_suppress = sflag; in br_ip6_multicast_alloc_query()
1195 mld2q->mld2q_qrv = 2; in br_ip6_multicast_alloc_query()
1196 mld2q->mld2q_nsrcs = htons(llqt_srcs); in br_ip6_multicast_alloc_query()
1197 mld2q->mld2q_qqic = brmctx->multicast_query_interval / HZ; in br_ip6_multicast_alloc_query()
1198 mld2q->mld2q_mca = *group; in br_ip6_multicast_alloc_query()
1199 csum = &mld2q->mld2q_cksum; in br_ip6_multicast_alloc_query()
1200 csum_start = (void *)mld2q; in br_ip6_multicast_alloc_query()
1209 mld2q->mld2q_srcs[llqt_srcs++] = ent->addr.src.ip6; in br_ip6_multicast_alloc_query()
1215 if (WARN_ON(llqt_srcs != ntohs(mld2q->mld2q_nsrcs))) { in br_ip6_multicast_alloc_query()
3510 struct mld2_query *mld2q; in br_ip6_multicast_query() local
3535 if (!pskb_may_pull(skb, offset + sizeof(*mld2q))) { in br_ip6_multicast_query()
3539 mld2q = (struct mld2_query *)icmp6_hdr(skb); in br_ip6_multicast_query()
3540 if (!mld2q->mld2q_nsrcs) in br_ip6_multicast_query()
3541 group = &mld2q->mld2q_mca; in br_ip6_multicast_query()
3543 !ipv6_addr_any(&mld2q->mld2q_mca) && in br_ip6_multicast_query()
3544 mld2q->mld2q_suppress) in br_ip6_multicast_query()
3547 max_delay = max(msecs_to_jiffies(mldv2_mrc(mld2q)), 1UL); in br_ip6_multicast_query()