public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] obtaining ip assigned by dhcp at runtime
@ 2005-06-29 20:49 Aaron M Paulos
  2005-06-29 20:57 ` Andrew Lunn
  0 siblings, 1 reply; 2+ messages in thread
From: Aaron M Paulos @ 2005-06-29 20:49 UTC (permalink / raw)
  To: ecos-discuss

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?
 
Thanks in advance,
AP

Aaron M Paulos
apaulos@ece.cmu.edu
Mobile: 412.657.0043
http://www.ece.cmu.edu/~mead 

A311 Hamerschlag Hall
Carnegie Mellon University
5000 Forbes Ave.
Pittsburgh, PA 15213




-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ECOS] obtaining ip assigned by dhcp at runtime
  2005-06-29 20:49 [ECOS] obtaining ip assigned by dhcp at runtime Aaron M Paulos
@ 2005-06-29 20:57 ` Andrew Lunn
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Lunn @ 2005-06-29 20:57 UTC (permalink / raw)
  To: Aaron M Paulos; +Cc: ecos-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-06-29 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-29 20:49 [ECOS] obtaining ip assigned by dhcp at runtime Aaron M Paulos
2005-06-29 20:57 ` Andrew Lunn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).