Add the ioctl function for the net device