mld_hdr
#define mld6_hdr mld_hdr
__CTASSERT(sizeof(struct mld_hdr) == 24);
if (icmp6len < sizeof(struct mld_hdr))
if (icmp6len < sizeof(struct mld_hdr)) /* necessary? */
static struct mld_hdr *mld_allocbuf(struct mbuf **, struct in6_multi *, int);
struct mld_hdr *mldh;
IP6_EXTHDR_GET(mldh, struct mld_hdr *, m, off, sizeof(*mldh));
struct mld_hdr *mldh;
sizeof(struct mld_hdr));
static struct mld_hdr *
struct mld_hdr *mldh;
(*mh)->m_pkthdr.len = sizeof(struct ip6_hdr) + sizeof(struct mld_hdr);
md->m_len = sizeof(struct mld_hdr);
mldh = mtod(md, struct mld_hdr *);
memset(mldh, 0, sizeof(struct mld_hdr));