This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: obtaining ip assigned by dhcp at runtime


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]