netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* help regarding ip address assignment in kernel module
@ 2006-12-04  5:06 prajakta choudhari
  2006-12-04 15:35 ` Stephen Hemminger
  0 siblings, 1 reply; 2+ messages in thread
From: prajakta choudhari @ 2006-12-04  5:06 UTC (permalink / raw)
  To: netdev

Hi all:
I am absolutely new to kernel module programming. I have to modify the
hostap -code such that whenever a network device is registered, it is
assigned an ip address.

can i some how use the devinet.c functions such as
inetdev_init,inet_insert_ifa,etc fucntions even though they are not
exported, if so how.

Thank you


-- 
-------------------------------------
-------------------------------------
Regards,
Prajakta Choudhari,

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: help regarding ip address assignment in kernel module
  2006-12-04  5:06 help regarding ip address assignment in kernel module prajakta choudhari
@ 2006-12-04 15:35 ` Stephen Hemminger
  0 siblings, 0 replies; 2+ messages in thread
From: Stephen Hemminger @ 2006-12-04 15:35 UTC (permalink / raw)
  To: prajakta choudhari; +Cc: netdev

prajakta choudhari wrote:
> Hi all:
> I am absolutely new to kernel module programming. I have to modify the
> hostap -code such that whenever a network device is registered, it is
> assigned an ip address.
Do it in userspace. Listen for the netlink event that occurs when network
device is registered and send a netlink message to assign an IP address.


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-12-04 15:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-04  5:06 help regarding ip address assignment in kernel module prajakta choudhari
2006-12-04 15:35 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).