[Top] [All Lists]

where can I find the IP address ?

To: netdev@xxxxxxxxxxx
Subject: where can I find the IP address ?
From: sébastien person <sebastien.person@xxxxxxxxxxx>
Date: Wed, 2 May 2001 09:54:32 +0200
Sender: owner-netdev@xxxxxxxxxxx
>>Début du message transféré :
>>Date: Mon, 30 Apr 2001 23:34:38 +0100 (BST)
>>From: Alan Cox <alan@xxxxxxxxxxxxxxxxxxx>
>>To: sebastien.person@xxxxxxxxxxx (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@xxxxxxxxxxx a much better place to ask


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


<Prev in Thread] Current Thread [Next in Thread>
  • where can I find the IP address ?, sébastien person <=