/[lwip]/lwip/src/core/raw.c
ViewVC logotype

Diff of /lwip/src/core/raw.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by likewise, Sun Jul 4 23:43:39 2004 UTC revision 1.7 by christiaans, Fri Nov 25 12:03:38 2005 UTC
# Line 87  raw_input(struct pbuf *p, struct netif * Line 87  raw_input(struct pbuf *p, struct netif *
87  {  {
88    struct raw_pcb *pcb;    struct raw_pcb *pcb;
89    struct ip_hdr *iphdr;    struct ip_hdr *iphdr;
90    int proto;    s16_t proto;
91    u8_t eaten = 0;    u8_t eaten = 0;
92    
93    iphdr = p->payload;    iphdr = p->payload;
# Line 224  raw_sendto(struct raw_pcb *pcb, struct p Line 224  raw_sendto(struct raw_pcb *pcb, struct p
224    }    }
225        
226    if ((netif = ip_route(ipaddr)) == NULL) {    if ((netif = ip_route(ipaddr)) == NULL) {
227      LWIP_DEBUGF(RAW_DEBUG | 1, ("raw_sendto: No route to 0x%lx\n", ipaddr->addr));      LWIP_DEBUGF(RAW_DEBUG | 1, ("raw_sendto: No route to 0x%"X32_F"\n", ipaddr->addr));
228  #if RAW_STATS  #if RAW_STATS
229      /*    ++lwip_stats.raw.rterr;*/      /*    ++lwip_stats.raw.rterr;*/
230  #endif /* RAW_STATS */  #endif /* RAW_STATS */

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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