📄 vnetioctl.h
字号:
/* vnetioctl.h *//******************************************************************************************* Copyright 2002-2003 ATMEL Corporation. This file is part of ATMEL Wireless LAN Drivers. ATMEL Wireless LAN Drivers is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. ATMEL Wireless LAN Drivers is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with ATMEL Wireless LAN Drivers; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA*******************************************************************************************//******************************************************************************/// Private Ioctl numbers */// The following are private values for ioctl's *//******************************************************************************/#ifdef OS_SOLARIS#define VNETIOC ('A' << 8)// Get Support_App_Info Structure from driver (see fastvnet.h or vnet.h for more)#define GET_SUPPORT_INFO (VNETIOC | 01)// Put Support_App_Info Structure in driver with custom values#define SET_SUPPORT_INFO (VNETIOC | 02)// Get wep key information#define GET_WEP_INFO (VNETIOC | 03)// Set custom wep key values#define SET_WEP_INFO (VNETIOC | 04)// Gets driver, firmware versions for driver#define GET_VERSION_INFO (VNETIOC | 05)// resets card. We could also use DS_RESET_CARD defined in pcmcia/ds.h.#define RESET_CARD (VNETIOC | 06)// clears packets#define CLEAR_PACKETS (VNETIOC | 07)/* For GUI */// Get Access Points list#define GET_AP_INFO (VNETIOC | 08)// Start Site Survey#define SITE_SURVEY (VNETIOC | 09)// Stop Site Survey #define STOP_SITE_SURVEY (VNETIOC | 10)// Send Selected AP#define SELECT_AP_BY_INDEX (VNETIOC | 11)// Site Survey State #define SITE_SURVEY_STATE (VNETIOC | 12)// Stats#define GET_STATISTICS (VNETIOC | 13)//MAC Address#define GET_MAC_ADDRESS (VNETIOC | 14)#endif // OS_SOLARIS#ifdef OS_LINUX// // Private Ioctl #define SIOCIWPRIVSPREAM SIOCIWFIRSTPRIV + 0x0#define SIOCIWPRIVGPREAM SIOCIWFIRSTPRIV + 0x1// Get Support_App_Info Structure from driver (see fastvnet.h or vnet.h for more)#define GET_SUPPORT_INFO 1// Put Support_App_Info Structure in driver with custom values#define SET_SUPPORT_INFO 2// Get wep key information#define GET_WEP_INFO 3// Set custom wep key values#define SET_WEP_INFO 4// Gets driver, firmware versions for driver#define GET_VERSION_INFO 5// resets card. We could also use DS_RESET_CARD defined in pcmcia/ds.h.#define RESET_CARD 6// clears packets#define CLEAR_PACKETS 7/* For GUI */// Get Access Points list#define GET_AP_INFO 8// Start Site Survey#define SITE_SURVEY 9// Stop Site Survey #define STOP_SITE_SURVEY 10// Send Selected AP#define SELECT_AP_BY_INDEX 11// Site Survey State #define SITE_SURVEY_STATE 12// Stats#define GET_STATISTICS 13//MAC Address#define GET_MAC_ADDRESS 14#endif // OS_LINUX
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -