lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [lwip-users] Cable unplug events


From: Bill Auerbach
Subject: RE: [lwip-users] Cable unplug events
Date: Thu, 14 Feb 2008 10:02:04 -0500

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: address@hidden
> [mailto:address@hidden 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, address@hidden 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
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/lwip-users





reply via email to

[Prev in Thread] Current Thread [Next in Thread]