lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] DHCP restart


From: Bill Auerbach
Subject: RE: [lwip-users] DHCP restart
Date: Wed, 27 Oct 2010 13:47:18 -0400

Simon, isn’t this driver/port dependant? Meaning the callbacks won’t occur if the driver isn’t programmed to do so?

 

Bill

 

From: address@hidden [mailto:address@hidden On Behalf Of address@hidden
Sent: Wednesday, October 27, 2010 1:36 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] DHCP restart

 

Bill Auerbach wrote:

I wait to call dhcp_start until I see that I have a link established.

... and as a reminder to those who don't know:
- netif_set_link_callback() is used to set a callback per netif to get informed when the lwIP-internal link state changes.
- netif_set_link_up()/netif_set_link_down() is used by netif drivers to report the link status to lwIP (e.g. after getting an interrupt from the PHY)

Simon


reply via email to

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