Lines Matching refs:mld_hdr
229 struct mld_header *mld_hdr;
243 mld_hdr = (struct mld_header *)p->payload;
245 switch (mld_hdr->type) {
249 ip6_addr_isany(&(mld_hdr->multicast_address))) {
256 mld6_delayed_report(group, mld_hdr->max_resp_delay);
263 * mld_hdr->multicast_address should be the same. */
268 mld6_delayed_report(group, mld_hdr->max_resp_delay);
275 * mld_hdr->multicast_address should be the same. */
565 struct mld_header *mld_hdr;
594 mld_hdr = (struct mld_header *)p->payload;
597 mld_hdr->type = type;
598 mld_hdr->code = 0;
599 mld_hdr->chksum = 0;
600 mld_hdr->max_resp_delay = 0;
601 mld_hdr->reserved = 0;
602 ip6_addr_copy_to_packed(mld_hdr->multicast_address, group->group_address);
606 mld_hdr->chksum = ip6_chksum_pseudo(p, IP6_NEXTH_ICMP6, p->len,