lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Detect DHCP enabled for netif


From: Joel Cunningham
Subject: Re: [lwip-users] Detect DHCP enabled for netif
Date: Thu, 25 Feb 2016 21:17:25 +0000 (GMT)

It would be nice to have some getter APIs in netifapi.c in addition to the current setters.  I'm using some custom functions in my port that correctly reserves the LwIP context and then looks at the struct netif internals to get things like current IP address, netmask, gateway, and whether the address source is from DHCP.

Joel

On Feb 25, 2016, at 01:39 PM, "address@hidden" <address@hidden> wrote:

Martin Velek wrote:
can I detect that the DHCP was enabled for a particular netif
interface without checking netif internals?

No, not yet, but that's a good idea.

Simon

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users

reply via email to

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