~ubuntu-branches/debian/experimental/linux-tools/experimental

« back to all changes in this revision

Viewing changes to include/net/iw_handler.h

  • Committer: Package Import Robot
  • Author(s): Ben Hutchings
  • Date: 2014-02-02 16:57:49 UTC
  • mfrom: (1.1.10) (0.1.21 sid)
  • Revision ID: package-import@ubuntu.com-20140202165749-tw94o9t1t0a8txk6
Tags: 3.13-1~exp2
Merge changes from sid up to 3.12.6-3

Show diffs side-by-side

added added

removed removed

Lines of Context:
432
432
/* First : function strictly used inside the kernel */
433
433
 
434
434
/* Handle /proc/net/wireless, called in net/code/dev.c */
435
 
extern int dev_get_wireless_info(char * buffer, char **start, off_t offset,
436
 
                                 int length);
 
435
int dev_get_wireless_info(char *buffer, char **start, off_t offset, int length);
437
436
 
438
437
/* Second : functions that may be called by driver modules */
439
438
 
440
439
/* Send a single event to user space */
441
 
extern void wireless_send_event(struct net_device *     dev,
442
 
                                unsigned int            cmd,
443
 
                                union iwreq_data *      wrqu,
444
 
                                const char *            extra);
 
440
void wireless_send_event(struct net_device *dev, unsigned int cmd,
 
441
                         union iwreq_data *wrqu, const char *extra);
445
442
 
446
443
/* We may need a function to send a stream of events to user space.
447
444
 * More on that later... */
448
445
 
449
446
/* Standard handler for SIOCSIWSPY */
450
 
extern int iw_handler_set_spy(struct net_device *       dev,
451
 
                              struct iw_request_info *  info,
452
 
                              union iwreq_data *        wrqu,
453
 
                              char *                    extra);
 
447
int iw_handler_set_spy(struct net_device *dev, struct iw_request_info *info,
 
448
                       union iwreq_data *wrqu, char *extra);
454
449
/* Standard handler for SIOCGIWSPY */
455
 
extern int iw_handler_get_spy(struct net_device *       dev,
456
 
                              struct iw_request_info *  info,
457
 
                              union iwreq_data *        wrqu,
458
 
                              char *                    extra);
 
450
int iw_handler_get_spy(struct net_device *dev, struct iw_request_info *info,
 
451
                       union iwreq_data *wrqu, char *extra);
459
452
/* Standard handler for SIOCSIWTHRSPY */
460
 
extern int iw_handler_set_thrspy(struct net_device *    dev,
461
 
                                 struct iw_request_info *info,
462
 
                                 union iwreq_data *     wrqu,
463
 
                                 char *                 extra);
 
453
int iw_handler_set_thrspy(struct net_device *dev, struct iw_request_info *info,
 
454
                          union iwreq_data *wrqu, char *extra);
464
455
/* Standard handler for SIOCGIWTHRSPY */
465
 
extern int iw_handler_get_thrspy(struct net_device *    dev,
466
 
                                 struct iw_request_info *info,
467
 
                                 union iwreq_data *     wrqu,
468
 
                                 char *                 extra);
 
456
int iw_handler_get_thrspy(struct net_device *dev, struct iw_request_info *info,
 
457
                          union iwreq_data *wrqu, char *extra);
469
458
/* Driver call to update spy records */
470
 
extern void wireless_spy_update(struct net_device *     dev,
471
 
                                unsigned char *         address,
472
 
                                struct iw_quality *     wstats);
 
459
void wireless_spy_update(struct net_device *dev, unsigned char *address,
 
460
                         struct iw_quality *wstats);
473
461
 
474
462
/************************* INLINE FUNTIONS *************************/
475
463
/*