Received: (from majordomo@localhost) by oss.sgi.com (8.11.3/8.11.3) id f427uxL19169 for netdev-outgoing; Wed, 2 May 2001 00:56:59 -0700 Received: from looping.sycomore.fr ([195.6.125.97]) by oss.sgi.com (8.11.3/8.11.3) with ESMTP id f427usF19160 for ; Wed, 2 May 2001 00:56:55 -0700 Received: from sycomore.fr (moby.sycomore [172.30.5.141]) by looping.sycomore.fr (8.9.3/8.9.3) with ESMTP id JAA03579 for ; Wed, 2 May 2001 09:56:48 +0200 Received: from NEC-6550-A301 (IDENT:seb@nec-6550-a301.sycomore [172.30.3.103]) by sycomore.fr (8.9.3/8.8.7) with SMTP id JAA03274 for ; Wed, 2 May 2001 09:51:51 +0200 Date: Wed, 2 May 2001 09:54:32 +0200 From: sébastien person To: netdev@oss.sgi.com Subject: where can I find the IP address ? Message-Id: <20010502095432.379f3166.sebastien.person@sycomore.fr> X-Mailer: Sylpheed version 0.4.64 (GTK+ 1.2.6; i586-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-netdev@oss.sgi.com Precedence: bulk >>Début du message transféré : >> >>Date: Mon, 30 Apr 2001 23:34:38 +0100 (BST) >>From: Alan Cox >>To: sebastien.person@sycomore.fr (sébastien person) >>Subject: Re: Fw: where can I find the IP address ? >>I'm dealing with a driver wich need the IP address for specifics using. >>I've read in the linux device driver (o'reilly) that I can use the field >>pa_addr in the struct device. but it doesn't exist on my computer. >>so I don't understand why ? Is anybody could tell me where finding the >>IP address in the kernel ? >>thanks a lot. >>nb : my kernel version is 2.2.14, as it is my first driver I am starting >> on the current kernel I've got but I'll also need informations >> for kernel 2.4.X >A driver may not even have an IP address and it may change dynamically. One >side effect of this (and support for multiple addresses per node) is that >the addresses are now a chain attached to the device struct. You might find >netdev@oss.sgi.com a much better place to ask >Alan I hope that someone could give me some help ... If my question isn't as clear, don't hesitate to contact me. could I be CC because I think I'm not on this list, thanks sebastien.person@sycomore.fr