|
From: | Kieran Mansley |
Subject: | Re: [lwip-users] question about (* input)() |
Date: | 20 Nov 2004 19:57:53 +0000 |
On Nov 18 2004, jack W wrote:So i use the
fuction err_t tcpip_input(struct pbuf *p, struct netif *inp) as its input interface to replace the function ip_input(),netif_set_default(netif_add(&ipaddr, &netmask, &gw, ne2k_init, tcpip_input));then i can use the api in the file of apilib.c to establish tcp/ip program.but when i ping the board ,it failed.
That is very odd as tcpip_input() should in turn call ip_input(), after making sure the stack is protected to prevent multiple threads accessing at once. Are you able to enable any tracing to throw some light on why the ping fails? Does icmp_input() get called for example?
Thanks Kieran
[Prev in Thread] | Current Thread | [Next in Thread] |