Parent Directory | Revision Log | Patch
revision 1.26 by likewise, Thu Jun 12 07:18:57 2003 UTC | revision 1.26.2.1 by kieranm, Wed Aug 20 16:46:16 2003 UTC | |
---|---|---|
# | Line 49 | Line 49 |
49 | #include "lwip/inet.h" | #include "lwip/inet.h" |
50 | #include "lwip/netif.h" | #include "lwip/netif.h" |
51 | #include "lwip/icmp.h" | #include "lwip/icmp.h" |
52 | #include "lwip/raw.h" | |
53 | #include "lwip/udp.h" | #include "lwip/udp.h" |
54 | #include "lwip/tcp.h" | #include "lwip/tcp.h" |
55 | ||
# | Line 392 ip_input(struct pbuf *p, struct netif *i | Line 393 ip_input(struct pbuf *p, struct netif *i |
393 | LWIP_DEBUGF(IP_DEBUG, ("ip_input: p->len %d p->tot_len %d\n", p->len, p->tot_len)); | LWIP_DEBUGF(IP_DEBUG, ("ip_input: p->len %d p->tot_len %d\n", p->len, p->tot_len)); |
394 | #endif /* IP_DEBUG */ | #endif /* IP_DEBUG */ |
395 | ||
396 | #if LWIP_RAW > 0 | |
397 | if (!raw_input(p, inp)) { | |
398 | #endif /* LWIP_RAW */ | |
399 | ||
400 | switch (IPH_PROTO(iphdr)) { | switch (IPH_PROTO(iphdr)) { |
401 | #if LWIP_UDP > 0 | #if LWIP_UDP > 0 |
402 | case IP_PROTO_UDP: | case IP_PROTO_UDP: |
# | Line 427 ip_input(struct pbuf *p, struct netif *i | Line 432 ip_input(struct pbuf *p, struct netif *i |
432 | snmp_inc_ipunknownprotos(); | snmp_inc_ipunknownprotos(); |
433 | ||
434 | } | } |
435 | #if LWIP_RAW > 0 | |
436 | } /* LWIP_RAW */ | |
437 | #endif | |
438 | return ERR_OK; | return ERR_OK; |
439 | } | } |
440 |
|
savannah-hackers-public@gnu.org | ViewVC Help |
Powered by ViewVC 1.1.26 |