version 1.6.2.2, 2001/02/11 19:17:27 |
version 1.14, 2001/10/16 06:24:45 |
Line 435 mld6_sendpkt(in6m, type, dst) |
|
Line 435 mld6_sendpkt(in6m, type, dst) |
|
mldh->mld6_addr = in6m->in6m_addr; |
mldh->mld6_addr = in6m->in6m_addr; |
if (IN6_IS_ADDR_MC_LINKLOCAL(&mldh->mld6_addr)) |
if (IN6_IS_ADDR_MC_LINKLOCAL(&mldh->mld6_addr)) |
mldh->mld6_addr.s6_addr16[1] = 0; /* XXX */ |
mldh->mld6_addr.s6_addr16[1] = 0; /* XXX */ |
mldh->mld6_cksum = in6_cksum(mh, IPPROTO_ICMPV6, sizeof(struct ip6_hdr), |
mldh->mld6_cksum = in6_cksum(mh, IPPROTO_ICMPV6, |
|
sizeof(struct ip6_hdr), |
sizeof(struct mld6_hdr)); |
sizeof(struct mld6_hdr)); |
|
|
/* construct multicast option */ |
/* construct multicast option */ |