From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18226 invoked by alias); 29 Jun 2005 20:57:53 -0000 Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Received: (qmail 18206 invoked by uid 22791); 29 Jun 2005 20:57:48 -0000 Received: from londo.lunn.ch (HELO londo.lunn.ch) (80.238.139.98) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Wed, 29 Jun 2005 20:57:48 +0000 Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1Dnjcm-0004bX-00; Wed, 29 Jun 2005 22:57:36 +0200 Date: Wed, 29 Jun 2005 20:57:00 -0000 To: Aaron M Paulos Cc: ecos-discuss@sources.redhat.com Message-ID: <20050629205736.GH8479@lunn.ch> Mail-Followup-To: Aaron M Paulos , ecos-discuss@sources.redhat.com References: <001601c57ceb$d7588a70$3201a8c0@macrtft> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001601c57ceb$d7588a70$3201a8c0@macrtft> User-Agent: Mutt/1.5.9i From: Andrew Lunn Subject: Re: [ECOS] obtaining ip assigned by dhcp at runtime X-SW-Source: 2005-06/txt/msg00299.txt.bz2 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