Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/icmp6.c
Show First 20 Lines • Show All 437 Lines • ▼ Show 20 Lines | if (IN6_IS_ADDR_MULTICAST(&ip6->ip6_dst)) { | ||||
struct in6_multi *inm; | struct in6_multi *inm; | ||||
inm = in6m_lookup(ifp, &ip6->ip6_dst); | inm = in6m_lookup(ifp, &ip6->ip6_dst); | ||||
if (inm == NULL) { | if (inm == NULL) { | ||||
IP6STAT_INC(ip6s_notmember); | IP6STAT_INC(ip6s_notmember); | ||||
in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard); | in6_ifstat_inc(m->m_pkthdr.rcvif, ifs6_in_discard); | ||||
goto freeit; | goto freeit; | ||||
} | } | ||||
in6m_release_deferred(inm); | |||||
} | } | ||||
/* | /* | ||||
* calculate the checksum | * calculate the checksum | ||||
*/ | */ | ||||
#ifndef PULLDOWN_TEST | #ifndef PULLDOWN_TEST | ||||
icmp6 = (struct icmp6_hdr *)((caddr_t)ip6 + off); | icmp6 = (struct icmp6_hdr *)((caddr_t)ip6 + off); | ||||
#else | #else | ||||
▲ Show 20 Lines • Show All 2,368 Lines • Show Last 20 Lines |