Home | History | Annotate | Download | only in netinet6

Lines Matching defs:mldh

349 	struct mld_hdr *mldh;
359 IP6_EXTHDR_GET(mldh, struct mld_hdr *, m, off, sizeof(*mldh));
360 if (mldh == NULL) {
394 IN6_PRINT(ip6bufm, &mldh->mld_addr));
402 mld_addr = mldh->mld_addr;
420 switch (mldh->mld_type) {
447 timer = ntohs(mldh->mld_maxdelay);
505 if (!IN6_IS_ADDR_MULTICAST(&mldh->mld_addr))
530 log(LOG_ERR, "mld_input: illegal type(%d)", mldh->mld_type);
550 struct mld_hdr *mldh;
580 mldh = mld_allocbuf(&mh, in6m, type);
581 if (mldh == NULL) {
594 mldh->mld_addr = in6m->in6m_addr;
595 in6_clearscope(&mldh->mld_addr); /* XXX */
596 mldh->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6, sizeof(struct ip6_hdr),
638 struct mld_hdr *mldh;
676 mldh = mtod(md, struct mld_hdr *);
677 memset(mldh, 0, sizeof(struct mld_hdr));
678 mldh->mld_type = type;
679 return mldh;