lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] How to determine if DCHP changes the IP address


From: Bill Auerbach
Subject: RE: [lwip-users] How to determine if DCHP changes the IP address
Date: Tue, 18 Dec 2007 09:05:18 -0500

Thank you, great.  I’m glad it’s been done already.

 

No, it’s not in 1.2.0 – not that I see.

 

Bill Auerbach

 


From: address@hidden [mailto:address@hidden On Behalf Of Frédéric BERNON
Sent: Monday, December 17, 2007 5:53 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] How to determine if DCHP changes the IP address

 

Hi,

 

I think you can use the LWIP_NETIF_STATUS_CALLBACK option. Like this, each time netif_set_up or netif_set_down are called, you can be inform, because

dhcp_bind call netif_set_up, and dhcp_release call netif_set_down. Of course, this is in last CVS HEAD code. I'm not sure it's integrated in 1.2.0...

 

----- Original Message -----

Sent: Monday, December 17, 2007 11:44 PM

Subject: [lwip-users] How to determine if DCHP changes the IP address

 

Hello,

 

Can someone recommend a good way to get the IP address assigned by the first DCHP acquire?  And on an IP address expiration, if the IP address changes – how can one determine that this has occurred?  If there is not a user function callback to indicate when a setting changes by DHCP, can I recommend this as a future enhancement?

 

Thanks,

Bill Auerbach

 

 


_______________________________________________
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]