Lines Matching refs:mld2q
810 struct mld2_query *mld2q; in amt_build_mld_gq() local
817 len = hlen + tlen + sizeof(*ip6h) + sizeof(ra) + sizeof(*mld2q); in amt_build_mld_gq()
830 skb_put_zero(skb, sizeof(*mld2q)); in amt_build_mld_gq()
834 ip6h->payload_len = htons(sizeof(ra) + sizeof(*mld2q)); in amt_build_mld_gq()
853 mld2q = (struct mld2_query *)icmp6_hdr(skb); in amt_build_mld_gq()
854 mld2q->mld2q_mrc = htons(1); in amt_build_mld_gq()
855 mld2q->mld2q_type = ICMPV6_MGM_QUERY; in amt_build_mld_gq()
856 mld2q->mld2q_code = 0; in amt_build_mld_gq()
857 mld2q->mld2q_cksum = 0; in amt_build_mld_gq()
858 mld2q->mld2q_resv1 = 0; in amt_build_mld_gq()
859 mld2q->mld2q_resv2 = 0; in amt_build_mld_gq()
860 mld2q->mld2q_suppress = 0; in amt_build_mld_gq()
861 mld2q->mld2q_qrv = amt->qrv; in amt_build_mld_gq()
862 mld2q->mld2q_nsrcs = 0; in amt_build_mld_gq()
863 mld2q->mld2q_qqic = amt->qi; in amt_build_mld_gq()
864 csum_start = (void *)mld2q; in amt_build_mld_gq()
865 mld2q->mld2q_cksum = csum_ipv6_magic(&ip6h->saddr, &ip6h->daddr, in amt_build_mld_gq()
866 sizeof(*mld2q), in amt_build_mld_gq()
869 sizeof(*mld2q), 0)); in amt_build_mld_gq()
2401 struct mld2_query *mld2q; in amt_membership_query_handler() local
2408 sizeof(*mld2q))) in amt_membership_query_handler()
2415 mld2q = skb_pull(skb, sizeof(*ip6h) + AMT_IP6HDR_OPTS); in amt_membership_query_handler()
2421 amt->qi = mld2q->mld2q_qqic; in amt_membership_query_handler()