Parent Directory | Revision Log | Patch
revision 1.25 by likewise, Wed Jun 11 22:34:51 2003 UTC | revision 1.26 by likewise, Thu Jun 12 07:18:57 2003 UTC | |
---|---|---|
# | Line 350 ip_input(struct pbuf *p, struct netif *i | Line 350 ip_input(struct pbuf *p, struct netif *i |
350 | ||
351 | #if IP_REASSEMBLY | #if IP_REASSEMBLY |
352 | if ((IPH_OFFSET(iphdr) & htons(IP_OFFMASK | IP_MF)) != 0) { | if ((IPH_OFFSET(iphdr) & htons(IP_OFFMASK | IP_MF)) != 0) { |
353 | LWIP_DEBUGF(IP_DEBUG, ("IP packet is a fragment (id=0x%04x tot_len=%u len=%u MF=%u offset=%u), | LWIP_DEBUGF(IP_DEBUG, ("IP packet is a fragment (id=0x%04x tot_len=%u len=%u MF=%u offset=%u), calling ip_reass()\n", |
354 | calling ip_reass()\n", ntohs(IPH_ID(iphdr)), p->tot_len, ntohs(IPH_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & htons(IP_MF)), (ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)*8)); | ntohs(IPH_ID(iphdr)), p->tot_len, ntohs(IPH_LEN(iphdr)), !!(IPH_OFFSET(iphdr) & htons(IP_MF)), (ntohs(IPH_OFFSET(iphdr)) & IP_OFFMASK)*8)); |
355 | p = ip_reass(p); | p = ip_reass(p); |
356 | if (p == NULL) { | if (p == NULL) { |
357 | return ERR_OK; | return ERR_OK; |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |