Hi,

I am trying to write DHCP protocol in kernel module.
Everything is working fine except that when iam callig sys_socket() iam getting socket lookup failed error from the function sockfdlookup().

Where as the same programm is is working without any problem from seperate module.
when i insert this from my project its getting this problem
can anybody help me

also i want to configure the received ip address to my interface from kerenl module.....
is there any system command or script to set that...just like system("ifconfig eth0 192.168.1.79") from user space code.

Regards
Jyothi Vajja