/[lwip]/lwip/src/api/tcpip.c
ViewVC logotype

Diff of /lwip/src/api/tcpip.c

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

revision 1.8 by jani, Wed Mar 19 15:27:56 2003 UTC revision 1.9 by jani, Fri Mar 21 10:48:21 2003 UTC
# Line 46  Line 46 
46  static void (* tcpip_init_done)(void *arg) = NULL;  static void (* tcpip_init_done)(void *arg) = NULL;
47  static void *tcpip_init_done_arg;  static void *tcpip_init_done_arg;
48  static sys_mbox_t mbox;  static sys_mbox_t mbox;
49    #if LWIP_TCP
50  static int tcpip_tcp_timer_active = 0;  static int tcpip_tcp_timer_active = 0;
51    
52    
# Line 72  tcp_timer_needed(void) Line 72  tcp_timer_needed(void)
72          sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL);          sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL);
73    }    }
74  }  }
75    #endif /* LWIP_TCP */
76  /*-----------------------------------------------------------------------------------*/  /*-----------------------------------------------------------------------------------*/
77  static void  static void
78  tcpip_thread(void *arg)  tcpip_thread(void *arg)
# Line 81  tcpip_thread(void *arg) Line 82  tcpip_thread(void *arg)
82    (void)arg;    (void)arg;
83    
84    ip_init();    ip_init();
85    #if LWIP_UDP  
86    udp_init();    udp_init();
87    #endif
88    #if LWIP_TCP
89    tcp_init();    tcp_init();
90    #endif
91    if(tcpip_init_done != NULL) {    if(tcpip_init_done != NULL) {
92      tcpip_init_done(tcpip_init_done_arg);      tcpip_init_done(tcpip_init_done_arg);
93    }    }

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

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