[ECOS] obtaining ip assigned by dhcp at runtime
Andrew Lunn
andrew@lunn.ch
Wed Jun 29 20:57:00 GMT 2005
On Wed, Jun 29, 2005 at 04:48:01PM -0400, Aaron M Paulos wrote:
> Hello,
>
> I'm working with demo boards/gdb stub to develop software, and basically
> have multiple logical IPs aliased to a single physical interface.
>
> Is there a function call succeeding init_all_network_interfaces(), to
> get the assigned DHCP IP?
Have you seen show_network_tables in
net/bsd_tcpip/current/src/ecos/support.c. It shows you one way to get
this information.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list