[lkml]   [2001]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Fw: where can I find the IP address ?
Le Wed, 25 Apr 2001 15:17:59 +0200
Helge Hafting <> à écrit :

> sébastien person wrote:
> >
> > Début du message transféré :
> >
> > Date: Tue, 24 Apr 2001 16:43:18 +0200
> > From: sébastien person <>
> > To: liste noyau linux <>
> > 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.


sebastien person

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:28    [W:0.493 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog