dev_ioctl - network device ioctl
int dev_ioctl (unsigned int cmd, void __user * arg);
cmd command to issue arg pointer to a struct ifreq in user space
Issue ioctl functions to devices. This is normally called by the user space syscall interfaces but can sometimes be useful for other purposes. The return value is the return from the syscall if positive or a negative errno code on error.