version 1.212, 2005/02/26 22:45:12 |
version 1.212.2.3, 2007/09/17 20:14:21 |
Line 200 int ipprintfs = 0; |
|
Line 200 int ipprintfs = 0; |
|
#endif |
#endif |
|
|
int ip_do_randomid = 0; |
int ip_do_randomid = 0; |
int ip_do_loopback_cksum = 0; |
|
|
|
/* |
/* |
* XXX - Setting ip_checkinterface mostly implements the receive side of |
* XXX - Setting ip_checkinterface mostly implements the receive side of |
|
|
/* XXX error stat??? */ |
/* XXX error stat??? */ |
error = EINVAL; |
error = EINVAL; |
DPRINTF(("ip_input: no SP, packet discarded\n"));/*XXX*/ |
DPRINTF(("ip_input: no SP, packet discarded\n"));/*XXX*/ |
goto bad; |
|
} |
} |
splx(s); |
splx(s); |
if (error) |
if (error) |
|
|
for (t = m; t; t = t->m_next) |
for (t = m; t; t = t->m_next) |
plen += t->m_len; |
plen += t->m_len; |
m->m_pkthdr.len = plen; |
m->m_pkthdr.len = plen; |
|
m->m_pkthdr.csum_flags = 0; |
} |
} |
return (m); |
return (m); |
|
|