Lines Matching defs:mh
1944 struct mbuf *mh, *md;
1955 MGETHDR(mh, M_DONTWAIT, MT_HEADER);
1956 if (mh == NULL) {
1963 m_free(mh);
1968 mh->m_next = md;
1975 MH_ALIGN(mh, sizeof(struct ip6_hdr));
1976 mh->m_pkthdr.len = sizeof(struct ip6_hdr) + sizeof(struct mld_hdr);
1977 mh->m_len = sizeof(struct ip6_hdr);
1979 ip6 = mtod(mh, struct ip6_hdr *);
2003 mld->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6,
2006 mh->m_flags |= M_MLDV1;
2020 m_freem(mh);
2022 IF_ENQUEUE(&in6m->in6m_mli->mli_v1q, mh);
3351 struct mbuf *mh;
3366 MGETHDR(mh, M_DONTWAIT, MT_HEADER);
3367 if (mh == NULL) {
3373 MH_ALIGN(mh, sizeof(struct ip6_hdr) + sizeof(struct mldv2_report));
3378 mh->m_len = sizeof(struct ip6_hdr) + sizeof(struct mldv2_report);
3379 mh->m_pkthdr.len = sizeof(struct ip6_hdr) +
3382 ip6 = mtod(mh, struct ip6_hdr *);
3407 mh->m_next = m;
3408 mld->mld_cksum = in6_cksum(mh, IPPROTO_ICMPV6,
3410 return (mh);