Return to igmp.c CVS log | Up to [cvs.NetBSD.org] / src / sys / netinet |
Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. |
version 1.28.2.1, 2002/06/20 15:52:13 | version 1.28.2.2, 2002/07/15 10:36:55 | ||
---|---|---|---|
|
|
||
m->m_data += iphlen; | m->m_data += iphlen; | ||
m->m_len -= iphlen; | m->m_len -= iphlen; | ||
igmp = mtod(m, struct igmp *); | igmp = mtod(m, struct igmp *); | ||
/* No need to assert alignment here. */ | |||
if (in_cksum(m, ip->ip_len - iphlen)) { | if (in_cksum(m, ip->ip_len - iphlen)) { | ||
++igmpstat.igps_rcv_badsum; | ++igmpstat.igps_rcv_badsum; | ||
m_freem(m); | m_freem(m); |