iwreq
union iwreq_data *iwreq, char *extra)
strcpy(iwreq->name, "IEEE 802.11bg");
union iwreq_data *iwreq, char *extra)
struct iw_point *point = &iwreq->data;
union iwreq_data *iwreq, char *extra)
struct iw_param *param = &iwreq->param;
int ioctl_private_call(struct net_device *dev, struct iwreq *iwr,
int compat_private_call(struct net_device *dev, struct iwreq *iwr,
static int wext_ioctl_dispatch(struct net *net, struct iwreq *iwr,
struct iwreq *iwr,
struct iwreq iwr;
copy_to_user(arg, &iwr, sizeof(struct iwreq)))
struct iwreq *iwr,
struct iwreq iwr;
if (copy_from_user(&iwr, argp, sizeof(struct iwreq)))
copy_to_user(argp, &iwr, sizeof(struct iwreq)))
typedef int (*wext_ioctl_func)(struct net_device *, struct iwreq *,
static int wireless_process_ioctl(struct net *net, struct iwreq *iwr,
int ioctl_private_call(struct net_device *dev, struct iwreq *iwr,
int compat_private_call(struct net_device *dev, struct iwreq *iwr,