> sébastien person wrote:
> >
> > Début du message transféré :
> >
> > Date: Tue, 24 Apr 2001 16:43:18 +0200
> > From: sébastien person <sebastien.person@sycomore.fr>
> > To: liste noyau linux <linux-kernel@vger.kernel.org>
> > Subject: where can I find the IP address ?
> >
> > I'm dealing with a driver wich need the IP address for specifics using.
> >
> The IP address of what?
> Rememeber, a computer can have an arbitrary number of different
> IP addresses assigned to various interfaces. It may even have
> several IP addresses on the same network card.
>
> So, which of them do you want?
>
> Helge Hafting
Yes that's right. In fact (excuse my bad english), my driver is 'iconfiged- up' with an
IP in a script, and there is only one IP attach to the adapter. The adapter is a serial
modem wich will work like an ethernet card, I'm working on the encapsulation of packets
on the serial line and I need the IP that ifconfig attach to it.
I've seen in the rubini linux device driver that it exists one field in the struture
that contain the IP but it doesn't exist in my structure so I though that I can find it
elsewhere. So the IP that I need for the driver of the device, is the one the device is
attached to. I expect to explain myself clearly else don't hesitate to tell me more.
thanks
sebastien person
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/