亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? iwlib.h

?? wireless tools, 目前的最新版
?? H
?? 第 1 頁 / 共 2 頁
字號:
/* *	Wireless Tools * *		Jean II - HPLB 97->99 - HPL 99->07 * * Common header for the Wireless Extension library... * * This file is released under the GPL license. *     Copyright (c) 1997-2007 Jean Tourrilhes <jt@hpl.hp.com> */#ifndef IWLIB_H#define IWLIB_H/*#include "CHANGELOG.h"*//***************************** INCLUDES *****************************//* Standard headers */#include <sys/types.h>#include <sys/ioctl.h>#include <stdio.h>#include <math.h>#include <errno.h>#include <fcntl.h>#include <ctype.h>#include <stdlib.h>#include <string.h>#include <unistd.h>#include <netdb.h>		/* gethostbyname, getnetbyname */#include <net/ethernet.h>	/* struct ether_addr */#include <sys/time.h>		/* struct timeval */#include <unistd.h>/* This is our header selection. Try to hide the mess and the misery :-( * Don't look, you would go blind ;-) * Note : compatibility with *old* distributions has been removed, * you will need Glibc 2.2 and older to compile (which means  * Mandrake 8.0, Debian 2.3, RH 7.1 or older). *//* Set of headers proposed by Dr. Michael Rietz <rietz@mail.amps.de>, 27.3.2 */#include <net/if_arp.h>		/* For ARPHRD_ETHER */#include <sys/socket.h>		/* For AF_INET & struct sockaddr */#include <netinet/in.h>         /* For struct sockaddr_in */#include <netinet/if_ether.h>/* Fixup to be able to include kernel includes in userspace. * Basically, kill the sparse annotations... Jean II */#ifndef __user#define __user#endif#include <linux/types.h>		/* for "caddr_t" et al		*//* Glibc systems headers are supposedly less problematic than kernel ones */#include <sys/socket.h>			/* for "struct sockaddr" et al	*/#include <net/if.h>			/* for IFNAMSIZ and co... *//* Private copy of Wireless extensions (in this directoty) */#include "wireless.h"/* Make gcc understant that when we say inline, we mean it. * I really hate when the compiler is trying to be more clever than me, * because in this case gcc is not able to figure out functions with a * single call site, so not only I have to tag those functions inline * by hand, but then it refuse to inline them properly. * Total saving for iwevent : 150B = 0.7%. * Fortunately, in gcc 3.4, they now automatically inline static functions * with a single call site. Hurrah ! * Jean II */#undef IW_GCC_HAS_BROKEN_INLINE#if __GNUC__ == 3#if __GNUC_MINOR__ >= 1 && __GNUC_MINOR__ < 4#define IW_GCC_HAS_BROKEN_INLINE	1#endif	/* __GNUC_MINOR__ */#endif	/* __GNUC__ *//* However, gcc 4.0 has introduce a new "feature", when compiling with * '-Os', it does not want to inline iw_ether_cmp() and friends. * So, we need to fix inline again ! * Jean II */#if __GNUC__ == 4#define IW_GCC_HAS_BROKEN_INLINE	1#endif	/* __GNUC__ *//* Now, really fix the inline */#ifdef IW_GCC_HAS_BROKEN_INLINE#ifdef inline#undef inline#endif	/* inline */#define inline		inline		__attribute__((always_inline))#endif	/* IW_GCC_HAS_BROKEN_INLINE */#ifdef __cplusplusextern "C" {#endif/****************************** DEBUG ******************************///#define DEBUG 1/************************ CONSTANTS & MACROS ************************//* Various versions information *//* Recommended Wireless Extension version */#define WE_VERSION	21/* Maximum forward compatibility built in this version of WT */#define WE_MAX_VERSION	22/* Version of Wireless Tools */#define WT_VERSION	29/* Paths */#define PROC_NET_WIRELESS	"/proc/net/wireless"#define PROC_NET_DEV		"/proc/net/dev"/* Some usefull constants */#define KILO	1e3#define MEGA	1e6#define GIGA	1e9/* For doing log10/exp10 without libm */#define LOG10_MAGIC	1.25892541179/* Backward compatibility for network headers */#ifndef ARPHRD_IEEE80211#define ARPHRD_IEEE80211 801		/* IEEE 802.11			*/#endif /* ARPHRD_IEEE80211 */#ifndef IW_EV_LCP_PK_LEN/* Size of the Event prefix when packed in stream */#define IW_EV_LCP_PK_LEN	(4)/* Size of the various events when packed in stream */#define IW_EV_CHAR_PK_LEN	(IW_EV_LCP_PK_LEN + IFNAMSIZ)#define IW_EV_UINT_PK_LEN	(IW_EV_LCP_PK_LEN + sizeof(__u32))#define IW_EV_FREQ_PK_LEN	(IW_EV_LCP_PK_LEN + sizeof(struct iw_freq))#define IW_EV_PARAM_PK_LEN	(IW_EV_LCP_PK_LEN + sizeof(struct iw_param))#define IW_EV_ADDR_PK_LEN	(IW_EV_LCP_PK_LEN + sizeof(struct sockaddr))#define IW_EV_QUAL_PK_LEN	(IW_EV_LCP_PK_LEN + sizeof(struct iw_quality))#define IW_EV_POINT_PK_LEN	(IW_EV_LCP_PK_LEN + 4)struct iw_pk_event{	__u16		len;			/* Real lenght of this stuff */	__u16		cmd;			/* Wireless IOCTL */	union iwreq_data	u;		/* IOCTL fixed payload */} __attribute__ ((packed));struct	iw_pk_point{  void __user	*pointer;	/* Pointer to the data  (in user space) */  __u16		length;		/* number of fields or size in bytes */  __u16		flags;		/* Optional params */} __attribute__ ((packed));#define IW_EV_LCP_PK2_LEN	(sizeof(struct iw_pk_event) - sizeof(union iwreq_data))#define IW_EV_POINT_PK2_LEN	(IW_EV_LCP_PK2_LEN + sizeof(struct iw_pk_point) - IW_EV_POINT_OFF)#endif	/* IW_EV_LCP_PK_LEN *//****************************** TYPES ******************************//* Shortcuts */typedef struct iw_statistics	iwstats;typedef struct iw_range		iwrange;typedef struct iw_param		iwparam;typedef struct iw_freq		iwfreq;typedef struct iw_quality	iwqual;typedef struct iw_priv_args	iwprivargs;typedef struct sockaddr		sockaddr;/* Structure for storing all wireless information for each device * This is a cut down version of the one above, containing only * the things *truly* needed to configure a card. * Don't add other junk, I'll remove it... */typedef struct wireless_config{  char		name[IFNAMSIZ + 1];	/* Wireless/protocol name */  int		has_nwid;  iwparam	nwid;			/* Network ID */  int		has_freq;  double	freq;			/* Frequency/channel */  int		freq_flags;  int		has_key;  unsigned char	key[IW_ENCODING_TOKEN_MAX];	/* Encoding key used */  int		key_size;		/* Number of bytes */  int		key_flags;		/* Various flags */  int		has_essid;  int		essid_on;  char		essid[IW_ESSID_MAX_SIZE + 1];	/* ESSID (extended network) */  int		has_mode;  int		mode;			/* Operation mode */} wireless_config;/* Structure for storing all wireless information for each device * This is pretty exhaustive... */typedef struct wireless_info{  struct wireless_config	b;	/* Basic information */  int		has_sens;  iwparam	sens;			/* sensitivity */  int		has_nickname;  char		nickname[IW_ESSID_MAX_SIZE + 1]; /* NickName */  int		has_ap_addr;  sockaddr	ap_addr;		/* Access point address */  int		has_bitrate;  iwparam	bitrate;		/* Bit rate in bps */  int		has_rts;  iwparam	rts;			/* RTS threshold in bytes */  int		has_frag;  iwparam	frag;			/* Fragmentation threshold in bytes */  int		has_power;  iwparam	power;			/* Power management parameters */  int		has_txpower;  iwparam	txpower;		/* Transmit Power in dBm */  int		has_retry;  iwparam	retry;			/* Retry limit or lifetime */  /* Stats */  iwstats	stats;  int		has_stats;  iwrange	range;  int		has_range;  /* Auth params for WPA/802.1x/802.11i */  int		auth_key_mgmt;  int		has_auth_key_mgmt;  int		auth_cipher_pairwise;  int		has_auth_cipher_pairwise;  int		auth_cipher_group;  int		has_auth_cipher_group;} wireless_info;/* Structure for storing an entry of a wireless scan. * This is only a subset of all possible information, the flexible * structure of scan results make it impossible to capture all * information in such a static structure. */typedef struct wireless_scan{  /* Linked list */  struct wireless_scan *	next;  /* Cell identifiaction */  int		has_ap_addr;  sockaddr	ap_addr;		/* Access point address */  /* Other information */  struct wireless_config	b;	/* Basic information */  iwstats	stats;			/* Signal strength */  int		has_stats;  iwparam	maxbitrate;		/* Max bit rate in bps */  int		has_maxbitrate;} wireless_scan;/* * Context used for non-blocking scan. */typedef struct wireless_scan_head{  wireless_scan *	result;		/* Result of the scan */  int			retry;		/* Retry level */} wireless_scan_head;/* Structure used for parsing event streams, such as Wireless Events * and scan results */typedef struct stream_descr{  char *	end;		/* End of the stream */  char *	current;	/* Current event in stream of events */  char *	value;		/* Current value in event */} stream_descr;/* Prototype for handling display of each single interface on the * system - see iw_enum_devices() */typedef int (*iw_enum_handler)(int	skfd,			       char *	ifname,			       char *	args[],			       int	count);/* Describe a modulation */typedef struct iw_modul_descr{  unsigned int		mask;		/* Modulation bitmask */  char			cmd[8];		/* Short name */  char *		verbose;	/* Verbose description */} iw_modul_descr;/**************************** PROTOTYPES ****************************//* * All the functions in iwcommon.c *//* ---------------------- SOCKET SUBROUTINES -----------------------*/int	iw_sockets_open(void);void	iw_enum_devices(int		skfd,			iw_enum_handler fn,			char *		args[],			int		count);/* --------------------- WIRELESS SUBROUTINES ----------------------*/int	iw_get_kernel_we_version(void);int

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一级免费观看| 亚洲午夜久久久久久久久电影网| 欧美aaa在线| 国产午夜精品一区二区三区四区| 亚洲免费伊人电影| 色哟哟国产精品免费观看| 一区二区三区 在线观看视频| 亚洲制服欧美中文字幕中文字幕| 97精品电影院| 国产亚洲精品aa午夜观看| 国产精品色哟哟| 婷婷中文字幕综合| 色噜噜狠狠成人中文综合| 美女视频一区二区| |精品福利一区二区三区| 精品剧情v国产在线观看在线| 一个色妞综合视频在线观看| 久久久久久久久一| 7777精品久久久大香线蕉| 日本特黄久久久高潮| 欧美一区二区精美| 国产毛片一区二区| 亚洲精品视频在线观看网站| 欧美日韩三级一区| 日韩国产高清影视| 欧美一级免费大片| 狠狠色丁香久久婷婷综| 手机精品视频在线观看| 欧美日韩国产高清一区二区三区| 亚洲精选在线视频| 色狠狠综合天天综合综合| 国产精品美女视频| 欧美精品高清视频| 精品在线播放免费| 一级女性全黄久久生活片免费| 国产乱码精品一区二区三区忘忧草| 正在播放一区二区| 日韩精品中午字幕| 在线国产电影不卡| 国产成人av一区| 激情五月播播久久久精品| 日本不卡在线视频| 欧美一级二级三级蜜桃| 56国语精品自产拍在线观看| 欧美日韩国产高清一区二区三区| 亚洲精品写真福利| 国产精品青草综合久久久久99| 久久精品国产免费| 久久视频一区二区| 成人av综合在线| 欧美韩国日本不卡| eeuss鲁片一区二区三区在线观看| 国产精品乱子久久久久| 99精品视频中文字幕| 一区二区高清免费观看影视大全| 欧美中文字幕不卡| 日韩精品高清不卡| 精品国产一区二区三区忘忧草| 激情图片小说一区| 亚洲丝袜美腿综合| 3d动漫精品啪啪一区二区竹菊| 精品一区二区三区在线观看国产| 久久精品人人做人人爽97| 99精品热视频| 日韩av成人高清| 国产亚洲短视频| 色av综合在线| 老司机精品视频一区二区三区| 亚洲国产精品精华液ab| 91国产福利在线| 精品一区二区日韩| 亚洲精品国产无天堂网2021 | 亚洲小说春色综合另类电影| 欧美精品色一区二区三区| 狠狠色综合日日| 亚洲免费观看高清在线观看| 欧美一区二区三区日韩视频| 国产98色在线|日韩| 五月天视频一区| 欧美激情综合在线| 制服丝袜亚洲播放| 成人免费福利片| 日韩av电影免费观看高清完整版在线观看 | 99久久亚洲一区二区三区青草 | 国产偷国产偷精品高清尤物| 91成人国产精品| 国产成人综合亚洲网站| 三级亚洲高清视频| 亚洲精品老司机| 国产午夜精品一区二区三区嫩草 | 91精品国产日韩91久久久久久| 国产91精品一区二区麻豆亚洲| 亚洲成人资源网| 中文字幕一区二区三| 欧美成人乱码一区二区三区| 色综合中文字幕| 国产精品一区二区x88av| 亚洲国产一区视频| 综合久久一区二区三区| 91在线播放网址| 免费高清不卡av| 亚洲色图清纯唯美| 欧美主播一区二区三区美女| 国产精品1区2区3区在线观看| 日韩精品成人一区二区在线| 亚洲嫩草精品久久| 欧美国产97人人爽人人喊| 欧美tickling挠脚心丨vk| 欧美久久久久免费| 欧美色爱综合网| 91麻豆产精品久久久久久| 国产精品1区2区3区| 国产麻豆视频一区| 经典一区二区三区| 国产专区欧美精品| 国产一区三区三区| 国产成人小视频| 国产成人综合网| 高清免费成人av| 国产精品18久久久久久vr| 国产激情视频一区二区在线观看| 韩日欧美一区二区三区| 久久66热re国产| 韩国三级在线一区| 国产盗摄女厕一区二区三区| 夫妻av一区二区| 99这里只有精品| 欧美性一级生活| 91精品国产一区二区三区蜜臀| 欧美一区二区在线看| 精品国产亚洲在线| 国产精品免费aⅴ片在线观看| 国产日韩欧美激情| 亚洲色图欧美偷拍| 天堂av在线一区| 久99久精品视频免费观看| 国产 欧美在线| 91麻豆免费视频| 7878成人国产在线观看| 精品国产三级电影在线观看| 国产女主播一区| 伊人开心综合网| 蜜乳av一区二区| 国产v综合v亚洲欧| 在线观看亚洲a| 日韩美女在线视频| 国产精品久久久久9999吃药| 亚洲图片欧美色图| 久久99国产精品尤物| 97久久精品人人澡人人爽| 欧美日韩免费一区二区三区| 精品国产一区二区三区久久影院 | 爽好久久久欧美精品| 精品一区二区三区免费视频| 成人va在线观看| 正在播放亚洲一区| 国产精品国产三级国产aⅴ入口 | 国产日韩视频一区二区三区| 亚洲美女一区二区三区| 精品亚洲porn| 欧美视频日韩视频在线观看| 久久久久久久久99精品| 亚洲综合区在线| 国产黑丝在线一区二区三区| 欧美日韩成人综合天天影院| 国产精品网站导航| 久久精品国产999大香线蕉| 色一情一伦一子一伦一区| 欧美成人午夜电影| 亚洲成av人在线观看| 国产.精品.日韩.另类.中文.在线.播放| 欧美日韩精品是欧美日韩精品| 亚洲国产电影在线观看| 久久不见久久见中文字幕免费| 色婷婷av一区二区三区大白胸| 欧美大片国产精品| 亚洲国产另类av| 99视频精品免费视频| 久久婷婷成人综合色| 美女脱光内衣内裤视频久久网站| 在线视频一区二区三| 日本一二三不卡| 国产一区二区三区在线观看免费| 欧美色图免费看| 中文字幕一区二区三区四区不卡 | 91精品欧美久久久久久动漫| 中文字幕一区二| 国产a久久麻豆| 欧美成人a在线| 日韩av不卡一区二区| 欧美综合色免费| 亚洲一区二区视频在线| a级精品国产片在线观看| 欧美国产一区视频在线观看| 国产精品一区二区你懂的| 91精品国产品国语在线不卡| 亚洲成人福利片| 欧美福利一区二区| 日日嗨av一区二区三区四区| 欧美三级日韩三级国产三级|