* Getting IP Address for netdev
@ 2009-09-25 2:53 Pawel Pastuszak
2009-09-25 13:43 ` Liu Jiusheng
0 siblings, 1 reply; 2+ messages in thread
From: Pawel Pastuszak @ 2009-09-25 2:53 UTC (permalink / raw)
To: netdev
Hello everyone,
I am looking for some help, I am writing an netdev driver and i want
to known how to i get the current ip that is set to the device?
Thanks,
Pawel
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Getting IP Address for netdev
2009-09-25 2:53 Getting IP Address for netdev Pawel Pastuszak
@ 2009-09-25 13:43 ` Liu Jiusheng
0 siblings, 0 replies; 2+ messages in thread
From: Liu Jiusheng @ 2009-09-25 13:43 UTC (permalink / raw)
To: Pawel Pastuszak; +Cc: netdev
On Thu, Sep 24, 2009 at 10:53:41PM -0400, Pawel Pastuszak wrote:
> Hello everyone,
>
> I am looking for some help, I am writing an netdev driver and i want
> to known how to i get the current ip that is set to the device?
>
use in_dev_get to get in_device;
use macro for_ifa to get the IPv4 address set on the device.
--
Liu Jiusheng
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-09-25 13:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-25 2:53 Getting IP Address for netdev Pawel Pastuszak
2009-09-25 13:43 ` Liu Jiusheng
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox