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 |
|
|
50 |
#if LWIP_TCP |
#if LWIP_TCP |
51 |
static int tcpip_tcp_timer_active = 0; |
static int tcpip_tcp_timer_active = 0; |
52 |
|
|
|
|
|
|
|
|
53 |
static void |
static void |
54 |
tcpip_tcp_timer(void *arg) |
tcpip_tcp_timer(void *arg) |
55 |
{ |
{ |
67 |
} |
} |
68 |
} |
} |
69 |
|
|
70 |
|
#if !NO_SYS |
71 |
void |
void |
72 |
tcp_timer_needed(void) |
tcp_timer_needed(void) |
73 |
{ |
{ |
78 |
sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL); |
sys_timeout(TCP_TMR_INTERVAL, tcpip_tcp_timer, NULL); |
79 |
} |
} |
80 |
} |
} |
81 |
|
#endif /* !NO_SYS */ |
82 |
#endif /* LWIP_TCP */ |
#endif /* LWIP_TCP */ |
83 |
|
|
84 |
static void |
static void |