/[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.5 by likewise, Wed Dec 11 00:21:12 2002 UTC revision 1.6 by kieranm, Wed Dec 18 11:53:26 2002 UTC
# Line 158  ip_route(struct ip_addr *dest) Line 158  ip_route(struct ip_addr *dest)
158  static void  static void
159  ip_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp)  ip_forward(struct pbuf *p, struct ip_hdr *iphdr, struct netif *inp)
160  {  {
161    static struct netif *netif;    struct netif *netif;
162        
163    PERF_START;    PERF_START;
164        
# Line 539  err_t Line 539  err_t
539  ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,  ip_output(struct pbuf *p, struct ip_addr *src, struct ip_addr *dest,
540            u8_t ttl, u8_t proto)            u8_t ttl, u8_t proto)
541  {  {
542    static struct netif *netif;    struct netif *netif;
   
543        
544    if((netif = ip_route(dest)) == NULL) {    if((netif = ip_route(dest)) == NULL) {
545      DEBUGF(IP_DEBUG, ("ip_output: No route to 0x%lx\n", dest->addr));      DEBUGF(IP_DEBUG, ("ip_output: No route to 0x%lx\n", dest->addr));

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

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