/[lwip]/lwip/src/core/ipv4/ip.c
ViewVC logotype

Diff of /lwip/src/core/ipv4/ip.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch 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    

Legend:
Removed from v.1.26  
changed lines
  Added in v.1.26.2.1

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26