Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
iw_handler.h File Reference
#include <linux/wireless.h>
#include <linux/if_ether.h>

Go to the source code of this file.

Data Structures

struct  iw_request_info
 
struct  iw_handler_def
 
struct  iw_ioctl_description
 
struct  iw_spy_data
 
struct  iw_public_data
 

Macros

#define IW_HANDLER_VERSION   8
 
#define IW_WIRELESS_SPY
 
#define IW_WIRELESS_THRSPY
 
#define EIWCOMMIT   EINPROGRESS
 
#define IW_REQUEST_FLAG_COMPAT   0x0001 /* Compat ioctl call */
 
#define IW_HEADER_TYPE_NULL   0 /* Not available */
 
#define IW_HEADER_TYPE_CHAR   2 /* char [IFNAMSIZ] */
 
#define IW_HEADER_TYPE_UINT   4 /* __u32 */
 
#define IW_HEADER_TYPE_FREQ   5 /* struct iw_freq */
 
#define IW_HEADER_TYPE_ADDR   6 /* struct sockaddr */
 
#define IW_HEADER_TYPE_POINT   8 /* struct iw_point */
 
#define IW_HEADER_TYPE_PARAM   9 /* struct iw_param */
 
#define IW_HEADER_TYPE_QUAL   10 /* struct iw_quality */
 
#define IW_DESCR_FLAG_NONE   0x0000 /* Obvious */
 
#define IW_DESCR_FLAG_DUMP   0x0001 /* Not part of the dump command */
 
#define IW_DESCR_FLAG_EVENT   0x0002 /* Generate an event on SET */
 
#define IW_DESCR_FLAG_RESTRICT   0x0004 /* GET : request is ROOT only */
 
#define IW_DESCR_FLAG_NOMAX   0x0008 /* GET : no limit on request size */
 
#define IW_DESCR_FLAG_WAIT   0x0100 /* Wait for driver event */
 

Typedefs

typedef int(* iw_handler )(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 

Functions

int dev_get_wireless_info (char *buffer, char **start, off_t offset, int length)
 
void wireless_send_event (struct net_device *dev, unsigned int cmd, union iwreq_data *wrqu, const char *extra)
 
int iw_handler_set_spy (struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int iw_handler_get_spy (struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int iw_handler_set_thrspy (struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
int iw_handler_get_thrspy (struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)
 
void wireless_spy_update (struct net_device *dev, unsigned char *address, struct iw_quality *wstats)
 

Macro Definition Documentation

#define EIWCOMMIT   EINPROGRESS

Definition at line 256 of file iw_handler.h.

#define IW_DESCR_FLAG_DUMP   0x0001 /* Not part of the dump command */

Definition at line 276 of file iw_handler.h.

#define IW_DESCR_FLAG_EVENT   0x0002 /* Generate an event on SET */

Definition at line 277 of file iw_handler.h.

#define IW_DESCR_FLAG_NOMAX   0x0008 /* GET : no limit on request size */

Definition at line 280 of file iw_handler.h.

#define IW_DESCR_FLAG_NONE   0x0000 /* Obvious */

Definition at line 274 of file iw_handler.h.

#define IW_DESCR_FLAG_RESTRICT   0x0004 /* GET : request is ROOT only */

Definition at line 278 of file iw_handler.h.

#define IW_DESCR_FLAG_WAIT   0x0100 /* Wait for driver event */

Definition at line 282 of file iw_handler.h.

#define IW_HANDLER_VERSION   8

Definition at line 210 of file iw_handler.h.

#define IW_HEADER_TYPE_ADDR   6 /* struct sockaddr */

Definition at line 266 of file iw_handler.h.

#define IW_HEADER_TYPE_CHAR   2 /* char [IFNAMSIZ] */

Definition at line 263 of file iw_handler.h.

#define IW_HEADER_TYPE_FREQ   5 /* struct iw_freq */

Definition at line 265 of file iw_handler.h.

#define IW_HEADER_TYPE_NULL   0 /* Not available */

Definition at line 262 of file iw_handler.h.

#define IW_HEADER_TYPE_PARAM   9 /* struct iw_param */

Definition at line 268 of file iw_handler.h.

#define IW_HEADER_TYPE_POINT   8 /* struct iw_point */

Definition at line 267 of file iw_handler.h.

#define IW_HEADER_TYPE_QUAL   10 /* struct iw_quality */

Definition at line 269 of file iw_handler.h.

#define IW_HEADER_TYPE_UINT   4 /* __u32 */

Definition at line 264 of file iw_handler.h.

#define IW_REQUEST_FLAG_COMPAT   0x0001 /* Compat ioctl call */

Definition at line 259 of file iw_handler.h.

#define IW_WIRELESS_SPY

Definition at line 251 of file iw_handler.h.

#define IW_WIRELESS_THRSPY

Definition at line 252 of file iw_handler.h.

Typedef Documentation

typedef int(* iw_handler)(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra)

Definition at line 314 of file iw_handler.h.

Function Documentation

int dev_get_wireless_info ( char buffer,
char **  start,
off_t  offset,
int  length 
)
int iw_handler_get_spy ( struct net_device dev,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 74 of file wext-spy.c.

int iw_handler_get_thrspy ( struct net_device dev,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 137 of file wext-spy.c.

int iw_handler_set_spy ( struct net_device dev,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 26 of file wext-spy.c.

int iw_handler_set_thrspy ( struct net_device dev,
struct iw_request_info info,
union iwreq_data wrqu,
char extra 
)

Definition at line 110 of file wext-spy.c.

void wireless_send_event ( struct net_device dev,
unsigned int  cmd,
union iwreq_data wrqu,
const char extra 
)

Definition at line 420 of file wext-core.c.

void wireless_spy_update ( struct net_device dev,
unsigned char address,
struct iw_quality wstats 
)

Definition at line 192 of file wext-spy.c.