mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* INTERFACE ADDRESSES
@ 2003-10-04 20:11 Javier Govea
  0 siblings, 0 replies; only message in thread
From: Javier Govea @ 2003-10-04 20:11 UTC (permalink / raw)
  To: linux-kernel

Hi,

I want to get the ip addresses of every interface in my host, is there any function within
the kernel that already does this??? I know there is a function, called ip_dev_find(u32
addr) in fib_frontend.c, where I can pass the ip address of an intefarce and it will
return me a net_device*. I want a function that does exactely the opposite. Is there such
a function in the kernel?? if so, can somebody point me to file??? 

If there is no such a function, then I can write it myself, but I need some help for that.
I don't know where the ip addresses of the interfaces are stored, is there something like
a linked list or table where each node or entry has a device and its ip address??? where
can i look for the ip addresses? and the devices???

Thanx in advance to all...
Xavier


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-10-04 20:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-04 20:11 INTERFACE ADDRESSES Javier Govea

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®