Hi, I'am doing my first steps in the world op kernel programming. And i'am trying to port a 2.0 patch to a 2.4.20 kernel. And somewhere in the patch is see the following code in net/core/dev.c <code> struct device *main_dev = net_alias_main_dev(dev); + if(main_dev->do_ioctl==NULL) + return -EOPNOTSUPP; + ret=main_dev->do_ioctl(dev, &ifr, getset); + break; </code> What does this net_alias_main_dev() function do? And does it still exists in 2.4 or is it replaced by another function. I can't seem to find something about it in my 2.4.20 src groet Leo -- Leo .----- leo@aki.student.khleuven.be ____ / Eraly \/ "Originality is the art of concealing your sources." -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/