Home | History | Annotate | Download | only in netinet6

Lines Matching defs:mh

549 	struct mbuf *mh;
580 mldh = mld_allocbuf(&mh, in6m, type);
588 ip6 = mtod(mh, struct ip6_hdr *);
596 mldh->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6, sizeof(struct ip6_hdr),
628 ip6_output(mh, &ip6_opts, NULL, ia ? 0 : IPV6_UNSPECSRC,
635 mld_allocbuf(struct mbuf **mh, struct in6_multi *in6m, int type)
646 MGETHDR(*mh, M_DONTWAIT, MT_HEADER);
647 if (*mh == NULL)
651 m_free(*mh);
652 *mh = NULL;
655 (*mh)->m_next = md;
658 m_reset_rcvif((*mh));
659 (*mh)->m_pkthdr.len = sizeof(struct ip6_hdr) + sizeof(struct mld_hdr);
660 (*mh)->m_len = sizeof(struct ip6_hdr);
661 m_align(*mh, sizeof(struct ip6_hdr));
664 ip6 = mtod(*mh, struct ip6_hdr *);