Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       dev_ioctl - network device ioctl

SYNOPSIS

       int dev_ioctl  (unsigned int cmd, void __user * arg);

ARGUMENTS

       cmd    command to issue

       arg    pointer to a struct ifreq in user space

DESCRIPTION

       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.