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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? wireless.h

?? GNU Hurd 源代碼
?? H
字號:
/* * This file define a set of standard wireless extensions * * Version :	9	16.10.99 * * Authors :	Jean Tourrilhes - HPL - <jt@hpl.hp.com> */#ifndef _LINUX_WIRELESS_H#define _LINUX_WIRELESS_H/************************** DOCUMENTATION **************************//* * Basically, the wireless extensions are for now a set of standard ioctl * call + /proc/net/wireless * * The entry /proc/net/wireless give statistics and information on the * driver. * This is better than having each driver having its entry because * its centralised and we may remove the driver module safely. * * Ioctl are used to configure the driver and issue commands.  This is * better than command line options of insmod because we may want to * change dynamically (while the driver is running) some parameters. * * The ioctl mechanimsm are copied from standard devices ioctl. * We have the list of command plus a structure descibing the * data exchanged... * Note that to add these ioctl, I was obliged to modify : *	net/core/dev.c (two place + add include) *	net/ipv4/af_inet.c (one place + add include) * * /proc/net/wireless is a copy of /proc/net/dev. * We have a structure for data passed from the driver to /proc/net/wireless * Too add this, I've modified : *	net/core/dev.c (two other places) *	include/linux/netdevice.h (one place) *	include/linux/proc_fs.h (one place) * * Do not add here things that are redundant with other mechanisms * (drivers init, ifconfig, /proc/net/dev, ...) and with are not * wireless specific. * * These wireless extensions are not magic : each driver has to provide * support for them... * * IMPORTANT NOTE : As everything in the kernel, this is very much a * work in progress. Contact me if you have ideas of improvements... *//***************************** INCLUDES *****************************/#include <linux/types.h>		/* for "caddr_t" et al		*/#include <linux/socket.h>		/* for "struct sockaddr" et al	*/#include <linux/if.h>			/* for IFNAMSIZ and co... *//**************************** CONSTANTS ****************************//* --------------------------- VERSION --------------------------- *//* * This constant is used to know the availability of the wireless * extensions and to know which version of wireless extensions it is * (there is some stuff that will be added in the future...) * I just plan to increment with each new version. */#define WIRELESS_EXT	9/* * Changes : * * V2 to V3 * -------- *	Alan Cox start some incompatibles changes. I've integrated a bit more. *	- Encryption renamed to Encode to avoid US regulation problems *	- Frequency changed from float to struct to avoid problems on old 386 * * V3 to V4 * -------- *	- Add sensitivity * * V4 to V5 * -------- *	- Missing encoding definitions in range *	- Access points stuff * * V5 to V6 * -------- *	- 802.11 support (ESSID ioctls) * * V6 to V7 * -------- *	- define IW_ESSID_MAX_SIZE and IW_MAX_AP * * V7 to V8 * -------- *	- Changed my e-mail address *	- More 802.11 support (nickname, rate, rts, frag) *	- List index in frequencies * * V8 to V9 * -------- *	- Support for 'mode of operation' (ad-hoc, managed...) *	- Support for unicast and multicast power saving *	- Change encoding to support larger tokens (>64 bits) *	- Updated iw_params (disable, flags) and use it for NWID *	- Extracted iw_point from iwreq for clarity *//* -------------------------- IOCTL LIST -------------------------- *//* Basic operations */#define SIOCSIWNAME	0x8B00		/* Unused ??? */#define SIOCGIWNAME	0x8B01		/* get name */#define SIOCSIWNWID	0x8B02		/* set network id (the cell) */#define SIOCGIWNWID	0x8B03		/* get network id */#define SIOCSIWFREQ	0x8B04		/* set channel/frequency */#define SIOCGIWFREQ	0x8B05		/* get channel/frequency */#define SIOCSIWMODE	0x8B06		/* set operation mode */#define SIOCGIWMODE	0x8B07		/* get operation mode */#define SIOCSIWSENS	0x8B08		/* set sensitivity */#define SIOCGIWSENS	0x8B09		/* get sensitivity *//* Informative stuff */#define SIOCSIWRANGE	0x8B0A		/* Unused ??? */#define SIOCGIWRANGE	0x8B0B		/* Get range of parameters */#define SIOCSIWPRIV	0x8B0C		/* Unused ??? */#define SIOCGIWPRIV	0x8B0D		/* get private ioctl interface info *//* Mobile IP support */#define SIOCSIWSPY	0x8B10		/* set spy addresses */#define SIOCGIWSPY	0x8B11		/* get spy info (quality of link) *//* Access Point manipulation */#define SIOCSIWAP	0x8B14		/* set access point MAC addresses */#define SIOCGIWAP	0x8B15		/* get access point MAC addresses */#define SIOCGIWAPLIST	0x8B17		/* get list of access point in range *//* 802.11 specific support */#define SIOCSIWESSID	0x8B1A		/* set ESSID (network name) */#define SIOCGIWESSID	0x8B1B		/* get ESSID */#define SIOCSIWNICKN	0x8B1C		/* set node name/nickname */#define SIOCGIWNICKN	0x8B1D		/* get node name/nickname *//* As the ESSID and NICKN are strings up to 32 bytes long, it doesn't fit * within the 'iwreq' structure, so we need to use the 'data' member to * point to a string in user space, like it is done for RANGE... * The "flags" member indicate if the ESSID is active or not (promiscuous). *//* Other parameters usefull in 802.11 and some other devices */#define SIOCSIWRATE	0x8B20		/* set default bit rate (bps) */#define SIOCGIWRATE	0x8B21		/* get default bit rate (bps) */#define SIOCSIWRTS	0x8B22		/* set RTS/CTS threshold (bytes) */#define SIOCGIWRTS	0x8B23		/* get RTS/CTS threshold (bytes) */#define SIOCSIWFRAG	0x8B24		/* set fragmentation thr (bytes) */#define SIOCGIWFRAG	0x8B25		/* get fragmentation thr (bytes) *//* Encoding stuff (scrambling, hardware security, WEP...) */#define SIOCSIWENCODE	0x8B2A		/* set encoding token & mode */#define SIOCGIWENCODE	0x8B2B		/* get encoding token & mode *//* Power saving stuff (power management, unicast and multicast) */#define SIOCSIWPOWER	0x8B2C		/* set Power Management settings */#define SIOCGIWPOWER	0x8B2D		/* get Power Management settings *//* ------------------------- IOCTL STUFF ------------------------- *//* The first and the last (range) */#define SIOCIWFIRST	0x8B00#define SIOCIWLAST	0x8B30/* Even : get (world access), odd : set (root access) */#define IW_IS_SET(cmd)	(!((cmd) & 0x1))#define IW_IS_GET(cmd)	((cmd) & 0x1)/* ------------------------- PRIVATE INFO ------------------------- *//* * The following is used with SIOCGIWPRIV. It allow a driver to define * the interface (name, type of data) for its private ioctl. * Privates ioctl are SIOCDEVPRIVATE -> SIOCDEVPRIVATE + 0xF */#define IW_PRIV_TYPE_MASK	0x7000	/* Type of arguments */#define IW_PRIV_TYPE_NONE	0x0000#define IW_PRIV_TYPE_BYTE	0x1000	/* Char as number */#define IW_PRIV_TYPE_CHAR	0x2000	/* Char as character */#define IW_PRIV_TYPE_INT	0x4000	/* 32 bits int */#define IW_PRIV_TYPE_FLOAT	0x5000#define IW_PRIV_SIZE_FIXED	0x0800	/* Variable or fixed nuber of args */#define IW_PRIV_SIZE_MASK	0x07FF	/* Max number of those args *//* * Note : if the number of args is fixed and the size < 16 octets, * instead of passing a pointer we will put args in the iwreq struct... *//* ----------------------- OTHER CONSTANTS ----------------------- *//* Maximum frequencies in the range struct */#define IW_MAX_FREQUENCIES	16/* Note : if you have something like 80 frequencies, * don't increase this constant and don't fill the frequency list. * The user will be able to set by channel anyway... *//* Maximum bit rates in the range struct */#define IW_MAX_BITRATES		8/* Maximum of address that you may set with SPY */#define IW_MAX_SPY		8/* Maximum of address that you may get in the   list of access points in range */#define IW_MAX_AP		8/* Maximum size of the ESSID and NICKN strings */#define IW_ESSID_MAX_SIZE	32/* Modes of operation */#define IW_MODE_AUTO	0	/* Let the driver decides */#define IW_MODE_ADHOC	1	/* Single cell network */#define IW_MODE_INFRA	2	/* Multi cell network, roaming, ... */#define IW_MODE_MASTER	3	/* Synchronisation master or Access Point */#define IW_MODE_REPEAT	4	/* Wireless Repeater (forwarder) */#define IW_MODE_SECOND	5	/* Secondary master/repeater (backup) *//* Maximum number of size of encoding token available * they are listed in the range structure */#define IW_MAX_ENCODING_SIZES	8/* Maximum size of the encoding token in bytes */#define IW_ENCODING_TOKEN_MAX	32	/* 256 bits (for now) *//* Flags for encoding (along with the token) */#define IW_ENCODE_INDEX		0x00FF	/* Token index (if needed) */#define IW_ENCODE_FLAGS		0xF000	/* Flags defined below */#define IW_ENCODE_DISABLED	0x8000	/* Encoding disabled */#define IW_ENCODE_ENABLED	0x0000	/* Encoding enabled */#define IW_ENCODE_RESTRICTED	0x4000	/* Refuse non-encoded packets */#define IW_ENCODE_OPEN		0x2000	/* Accept non-encoded packets *//* Power management flags available (along with the value, if any) */#define IW_POWER_ON		0x0000	/* No details... */#define IW_POWER_TYPE		0xF000	/* Type of parameter */#define IW_POWER_PERIOD		0x1000	/* Value is a period/duration of  */#define IW_POWER_TIMEOUT	0x2000	/* Value is a timeout (to go asleep) */#define IW_POWER_MODE		0x0F00	/* Power Management mode */#define IW_POWER_UNICAST_R	0x0100	/* Receive only unicast messages */#define IW_POWER_MULTICAST_R	0x0200	/* Receive only multicast messages */#define IW_POWER_ALL_R		0x0300	/* Receive all messages though PM */#define IW_POWER_FORCE_S	0x0400	/* Force PM procedure for sending unicast */#define IW_POWER_REPEATER	0x0800	/* Repeat broadcast messages in PM period *//****************************** TYPES ******************************//* --------------------------- SUBTYPES --------------------------- *//* *	Generic format for most parameters that fit in an int */struct	iw_param{  __s32		value;		/* The value of the parameter itself */  __u8		fixed;		/* Hardware should not use auto select */  __u8		disabled;	/* Disable the feature */  __u16		flags;		/* Various specifc flags (if any) */};/* *	For all data larger than 16 octets, we need to use a *	pointer to memory alocated in user space. */struct	iw_point{  caddr_t	pointer;	/* Pointer to the data  (in user space) */  __u16		length;		/* number of fields or size in bytes */  __u16		flags;		/* Optional params */};/* *	A frequency *	For numbers lower than 10^9, we encode the number in 'm' and *	set 'e' to 0 *	For number greater than 10^9, we divide it by the lowest power *	of 10 to get 'm' lower than 10^9, with 'm'= f / (10^'e')... *	The power of 10 is in 'e', the result of the division is in 'm'. */struct	iw_freq{	__u32		m;		/* Mantissa */	__u16		e;		/* Exponent */	__u8		i;		/* List index (when in range struct) */};/* *	Quality of the link */struct	iw_quality{	__u8		qual;		/* link quality (%retries, SNR or better...) */	__u8		level;		/* signal level */	__u8		noise;		/* noise level */	__u8		updated;	/* Flags to know if updated */};/* *	Packet discarded in the wireless adapter due to *	"wireless" specific problems... */struct	iw_discarded{	__u32		nwid;		/* Wrong nwid */	__u32		code;		/* Unable to code/decode */	__u32		misc;		/* Others cases */};/* ------------------------ WIRELESS STATS ------------------------ *//* * Wireless statistics (used for /proc/net/wireless) */struct	iw_statistics{	__u16		status;		/* Status					 * - device dependent for now */	struct iw_quality	qual;		/* Quality of the link						 * (instant/mean/max) */	struct iw_discarded	discard;	/* Packet discarded counts */};/* ------------------------ IOCTL REQUEST ------------------------ *//* * The structure to exchange data for ioctl. * This structure is the same as 'struct ifreq', but (re)defined for * convenience... * * Note that it should fit on the same memory footprint ! * You should check this when increasing the above structures (16 octets) * 16 octets = 128 bits. Warning, pointers might be 64 bits wide... */struct	iwreq {	union	{		char	ifrn_name[IFNAMSIZ];	/* if name, e.g. "eth0" */	} ifr_ifrn;	/* Data part */	union	{		/* Config - generic */		char		name[IFNAMSIZ];		/* Name : used to verify the presence of  wireless extensions.		 * Name of the protocol/provider... */		struct iw_point	essid;	/* Extended network name */		struct iw_param	nwid;	/* network id (or domain - the cell) */		struct iw_freq	freq;	/* frequency or channel :					 * 0-1000 = channel					 * > 1000 = frequency in Hz */		struct iw_param	sens;		/* signal level threshold */		struct iw_param	bitrate;	/* default bit rate */		struct iw_param	rts;		/* RTS threshold threshold */		struct iw_param	frag;		/* Fragmentation threshold */		__u32		mode;		/* Operation mode */		struct iw_point	encoding;	/* Encoding stuff : tokens */		struct iw_param	power;		/* PM duration/timeout */		struct sockaddr	ap_addr;	/* Access point address */		struct iw_point	data;		/* Other large parameters */	}	u;};/* -------------------------- IOCTL DATA -------------------------- *//* *	For those ioctl which want to exchange mode data that what could *	fit in the above structure... *//* *	Range of parameters */struct	iw_range{	/* Informative stuff (to choose between different interface) */	__u32		throughput;	/* To give an idea... */	/* In theory this value should be the maximum benchmarked	 * TCP/IP throughput, because with most of these devices the	 * bit rate is meaningless (overhead an co) to estimate how	 * fast the connection will go and pick the fastest one.	 * I suggest people to play with Netperf or any benchmark...	 */	/* NWID (or domain id) */	__u32		min_nwid;	/* Minimal NWID we are able to set */	__u32		max_nwid;	/* Maximal NWID we are able to set */	/* Frequency */	__u16		num_channels;	/* Number of channels [0; num - 1] */	__u8		num_frequency;	/* Number of entry in the list */	struct iw_freq	freq[IW_MAX_FREQUENCIES];	/* list */	/* Note : this frequency list doesn't need to fit channel numbers */	/* signal level threshold range */	__s32	sensitivity;	/* Quality of link & SNR stuff */	struct iw_quality	max_qual;	/* Quality of the link */	/* Rates */	__u8		num_bitrates;	/* Number of entries in the list */	__s32		bitrate[IW_MAX_BITRATES];	/* list, in bps */	/* RTS threshold */	__s32		min_rts;	/* Minimal RTS threshold */	__s32		max_rts;	/* Maximal RTS threshold */	/* Frag threshold */	__s32		min_frag;	/* Minimal frag threshold */	__s32		max_frag;	/* Maximal frag threshold */	/* Power Management duration & timeout */	__s32		min_pmd;	/* Minimal PM duration */	__s32		max_pmd;	/* Maximal PM duration */	__s32		min_pmt;	/* Minimal PM timeout */	__s32		max_pmt;	/* Maximal PM timeout */	/* Encoder stuff */	__u16	encoding_size[IW_MAX_ENCODING_SIZES];	/* Different token sizes */	__u8	num_encoding_sizes;	/* Number of entry in the list */	__u8	max_encoding_tokens;	/* Max number of tokens */};/* * Private ioctl interface information */ struct	iw_priv_args{	__u32		cmd;		/* Number of the ioctl to issue */	__u16		set_args;	/* Type and number of args */	__u16		get_args;	/* Type and number of args */	char		name[IFNAMSIZ];	/* Name of the extension */};#endif	/* _LINUX_WIRELESS_H */

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人动漫av在线| 日本不卡的三区四区五区| 国产激情一区二区三区四区 | 成人av在线影院| 国产日韩欧美综合一区| 国产99久久久久| 中文字幕在线不卡一区二区三区| 不卡的看片网站| 一区二区三区中文字幕在线观看| 日本电影欧美片| 偷拍与自拍一区| 欧美xxx久久| av激情亚洲男人天堂| 一区二区视频在线| 日韩一区二区三区四区| 国产麻豆欧美日韩一区| 最新中文字幕一区二区三区| 欧美亚洲综合网| 日韩精品视频网| 欧美极品少妇xxxxⅹ高跟鞋| 91激情五月电影| 美女脱光内衣内裤视频久久网站| 国产亚洲成aⅴ人片在线观看| 99久久夜色精品国产网站| 亚洲一区二区欧美日韩| 精品久久久久一区二区国产| 91一区一区三区| 亚洲国产综合色| 欧美精品一区视频| 在线看日韩精品电影| 极品少妇一区二区三区精品视频| 国产精品午夜电影| 欧美一区二区在线看| av亚洲精华国产精华精| 青娱乐精品视频在线| 欧美国产激情一区二区三区蜜月| 欧洲亚洲国产日韩| 国产一区二区三区四区在线观看| 综合久久久久久| 91精品婷婷国产综合久久竹菊| 国产suv精品一区二区883| 午夜伦理一区二区| 中日韩av电影| 日韩一级片网站| 91国偷自产一区二区三区成为亚洲经典| 婷婷国产在线综合| 亚洲欧洲av另类| 精品成人佐山爱一区二区| 在线精品国精品国产尤物884a| 麻豆国产91在线播放| 亚洲一区二区中文在线| 日本一区二区三区视频视频| 91精品国产黑色紧身裤美女| 91视频在线看| 成人网在线免费视频| 美脚の诱脚舐め脚责91| 香蕉成人伊视频在线观看| 综合久久一区二区三区| 欧美国产在线观看| 久久婷婷成人综合色| 国产精品久久久一区麻豆最新章节| 欧美日韩视频在线观看一区二区三区| 成人伦理片在线| 国产黄色91视频| 精品一区二区日韩| 麻豆成人久久精品二区三区红| 亚洲成av人综合在线观看| 亚洲精品高清在线| 亚洲三级在线免费| 中文字幕日韩一区二区| 国产精品毛片大码女人| 欧美经典三级视频一区二区三区| www久久久久| 久久一夜天堂av一区二区三区| 日韩欧美久久一区| 宅男噜噜噜66一区二区66| 欧美老肥妇做.爰bbww| 欧美吻胸吃奶大尺度电影| 在线视频你懂得一区二区三区| 91美女在线看| 91福利精品视频| 欧美综合视频在线观看| 欧美午夜精品一区| 精品视频在线免费观看| 欧美色图片你懂的| 欧美另类变人与禽xxxxx| 在线播放中文字幕一区| 日韩欧美一区二区在线视频| 日韩丝袜美女视频| ww久久中文字幕| 国产精品久久久久久久久免费桃花 | 国产精品麻豆99久久久久久| 国产精品免费久久久久| 亚洲视频图片小说| 亚洲一区国产视频| 奇米四色…亚洲| 久久国产精品色婷婷| 国产乱色国产精品免费视频| 国产suv精品一区二区883| 91玉足脚交白嫩脚丫在线播放| 色婷婷综合久久久久中文| 欧美日韩一区国产| 欧美成人一级视频| 中文av一区二区| 丁香桃色午夜亚洲一区二区三区| 丰满少妇久久久久久久| 色婷婷一区二区| 欧美精品v国产精品v日韩精品| 日韩视频永久免费| 中文字幕第一区二区| 一区二区三区四区中文字幕| 日韩一区欧美二区| 国产福利视频一区二区三区| 99riav一区二区三区| 91精品一区二区三区久久久久久 | 樱花草国产18久久久久| 美日韩黄色大片| jizzjizzjizz欧美| 在线成人小视频| 中文字幕免费在线观看视频一区| 一区二区三区在线视频观看58| 日韩成人dvd| av不卡免费电影| 日韩欧美一区二区视频| 亚洲精品日韩一| 久久电影网站中文字幕| 色婷婷一区二区| 国产婷婷色一区二区三区| 亚洲乱码日产精品bd| 久久精品国产精品亚洲综合| 色综合久久久久久久久久久| 26uuu成人网一区二区三区| 亚洲综合在线观看视频| 国产a精品视频| 欧美一级黄色录像| 亚洲精品第1页| 国产成人在线网站| 日韩一区二区三区av| 一区二区三区欧美亚洲| 成人综合在线观看| 日韩精品一区二区三区在线播放| 一区二区三区欧美久久| 成人综合在线网站| 欧美精品一区二区高清在线观看| 亚洲午夜羞羞片| 一本一道波多野结衣一区二区| 欧美精品一区男女天堂| 蜜臀久久99精品久久久画质超高清| 91在线视频18| 韩国视频一区二区| 欧美乱熟臀69xxxxxx| 亚洲精品久久7777| a在线欧美一区| 欧美国产日本视频| 国产剧情在线观看一区二区| 日韩区在线观看| 亚洲国产日产av| 欧美亚洲国产bt| 亚洲乱码国产乱码精品精的特点| 成人性生交大片免费看中文| 欧美刺激脚交jootjob| 日韩高清在线电影| 欧美放荡的少妇| 视频在线观看91| 欧美日本国产一区| 午夜久久电影网| 这里只有精品电影| 五月天丁香久久| 在线播放亚洲一区| 日韩专区一卡二卡| 欧美一区二区私人影院日本| 日韩和欧美一区二区| 日韩一区二区三区电影| 老司机精品视频导航| 精品日韩欧美一区二区| 国产一区二区三区在线观看精品 | 精品一区二区在线免费观看| 日韩一级欧美一级| 久久精品国产一区二区三区免费看| 538prom精品视频线放| 蜜桃传媒麻豆第一区在线观看| 日韩亚洲欧美在线观看| 国产一区二区三区四区在线观看 | 91免费精品国自产拍在线不卡| 亚洲美女少妇撒尿| 欧美三级中文字幕在线观看| 婷婷综合久久一区二区三区| 欧美一区二区视频在线观看2022| 久久精品国产99久久6| 久久免费午夜影院| 99久久婷婷国产精品综合| 亚洲资源中文字幕| 欧美一区二区三区在线| 国产一区二区精品在线观看| 亚洲国产精品黑人久久久| 91在线精品秘密一区二区| 午夜激情综合网| ww亚洲ww在线观看国产| 一本大道av一区二区在线播放| 香蕉av福利精品导航|