I am trying to implement ioctls with a network driver. However I am confused as to where the driver is. In order to find the file descriptor of a character devices one simply uses file =fopen("dev/foo","r"); fd=fileno(file);
and ioctl(fd,cmd,arg); but the network interface doesn't appear on the filesystem. what do i do? mike