lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] DHCP restart


From: address@hidden
Subject: Re: [lwip-users] DHCP restart
Date: Wed, 27 Oct 2010 19:35:40 +0200
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; de; rv:1.9.2.11) Gecko/20101013 Thunderbird/3.1.5

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]