Lines Matching refs:ihv3
514 struct igmpv3_query *ihv3; in amt_build_igmp_gq() local
523 len = hlen + tlen + sizeof(*iph) + AMT_IPHDR_OPTS + sizeof(*ihv3); in amt_build_igmp_gq()
535 skb_put(skb, sizeof(*ihv3)); in amt_build_igmp_gq()
543 iph->tot_len = htons(sizeof(*iph) + AMT_IPHDR_OPTS + sizeof(*ihv3)); in amt_build_igmp_gq()
557 ihv3 = skb_pull(skb, sizeof(*iph) + AMT_IPHDR_OPTS); in amt_build_igmp_gq()
559 ihv3->type = IGMP_HOST_MEMBERSHIP_QUERY; in amt_build_igmp_gq()
560 ihv3->code = 1; in amt_build_igmp_gq()
561 ihv3->group = 0; in amt_build_igmp_gq()
562 ihv3->qqic = amt->qi; in amt_build_igmp_gq()
563 ihv3->nsrcs = 0; in amt_build_igmp_gq()
564 ihv3->resv = 0; in amt_build_igmp_gq()
565 ihv3->suppress = false; in amt_build_igmp_gq()
566 ihv3->qrv = READ_ONCE(amt->net->ipv4.sysctl_igmp_qrv); in amt_build_igmp_gq()
567 ihv3->csum = 0; in amt_build_igmp_gq()
568 csum = &ihv3->csum; in amt_build_igmp_gq()
569 csum_start = (void *)ihv3; in amt_build_igmp_gq()
570 *csum = ip_compute_csum(csum_start, sizeof(*ihv3)); in amt_build_igmp_gq()
2349 struct igmpv3_query *ihv3; in amt_membership_query_handler() local
2383 sizeof(*ihv3))) in amt_membership_query_handler()
2389 ihv3 = skb_pull(skb, sizeof(*iph) + AMT_IPHDR_OPTS); in amt_membership_query_handler()
2395 amt->qi = ihv3->qqic; in amt_membership_query_handler()