Kieran, Does this mean we shouldn't let the stack know the state? I poll the PHY every 500mS and if the link changes state (either on to off or off to on) I call netif_set_link_up or netif_set_link_down appropriately. Should I not be doing this? I did define LWIP_NETIF_LINK_CALLBACK.
Thanks, Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Kieran Mansley > Sent: Thursday, February 14, 2008 5:04 AM > To: Mailing list for lwIP users > Subject: Re: [lwip-users] Cable unplug events > > On Thu, 2008-02-14 at 11:31 +0200, [EMAIL PROTECTED] wrote: > > Is a cable removal event catastrophic, forcing all open connections to > be > > reset and dhcp to restart from scratch, or is it something that should > be > > ignored if it is shorter than a specific duration? > > Cable events should be entirely ignored by the stack. The stack has its > own ways to determine if the physical link between it and the other end > is present (using probing) which can take account of all the links on > that path rather than just the local one. > > Kieran > > > > _______________________________________________ > lwip-users mailing list > [email protected] > http://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
