Hi Jitendra... On Wed, May 20, 2009 at 5:13 PM, Jitendra Pradhan <jitendra.pradhan@xxxxxxxxxxxxxxxx> wrote: > Hi, > > > > I am a new member in kernel newbies forum. As per my requirement, I would > like to add an IP address to an interface through a kernel module. > > > > I will appreciate if I get some sample code or pointers for adding ip to an > interface in kernel space. > Few greps brought me to this function: devinet_ioctl() in net/ipv4/devinet.c check for the case of SIOCSIFADDR ioctl, around line 716. regards, Mulyadi. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ