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

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

?? porting.doxygen

?? IEEE802.11 a/b/g 客戶端應用程序源代碼
?? DOXYGEN
字號:
/**\page porting Porting to different target boards and operating systems%wpa_supplicant was designed to be easily portable to differenthardware (board, CPU) and software (OS, drivers) targets. It isalready used with number of operating systems and numerous wirelesscard models and drivers. The main %wpa_supplicant repository includessupport for Linux, FreeBSD, and Windows. In addition, at least VxWorks,PalmOS, Windows CE, and Windows Mobile are supported in separaterepositories. On the hardwareside, %wpa_supplicant is used on various systems: desktops, laptops,PDAs, and embedded devices with CPUs including x86, PowerPC,arm/xscale, and MIPS. Both big and little endian configurations aresupported.\section ansi_c_extra Extra functions on top of ANSI C%wpa_supplicant is mostly using ANSI C functions that are available onmost targets. However, couple of additional functions that are commonon modern UNIX systems are used. Number of these are listed withprototypes in common.h (the #ifdef CONFIG_ANSI_C_EXTRA block). Thesefunctions may need to be implemented or at least defined as macros tonative functions in the target OS or C library.Many of the common ANSI C functions are used through a wrapperdefinitions in os.h to allow these to be replaced easily with aplatform specific version in case standard C libraries are notavailable. In addition, os.h defines couple of common platformspecific functions that are implemented in os_unix.c for UNIX liketargets and in os_win32.c for Win32 API. If the target platform doesnot support either of these examples, a new os_*.c file may need to beadded.Unless OS_NO_C_LIB_DEFINES is defined, the standard ANSI C and POSIXfunctions are used by defining the os_*() wrappers to use themdirectly in order to avoid extra cost in size and speed. If the targetplatform needs different versions of the functions, os.h can bemodified to define the suitable macros or alternatively,OS_NO_C_LIB_DEFINES may be defined for the build and the wrapperfunctions can then be implemented in a new os_*.c wrapper file.common.h defines number of helper macros for handling integers ofdifferent size and byte order. Suitable version of these definitionsmay need to be added for the target platform.\section configuration_backend Configuration backend%wpa_supplicant implements a configuration interface that allows thebackend to be easily replaced in order to read configuration data froma suitable source depending on the target platform. config.cimplements the generic code that can be shared with all configurationbackends. Each backend is implemented in its own config_*.c file.The included config_file.c backend uses a text file for configurationand config_winreg.c uses Windows registry. These files can be used asan example for a new configuration backend if the target platform usesdifferent mechanism for configuration parameters. In addition,config_none.c can be used as an empty starting point for building anew configuration backend.\section driver_iface_porting Driver interfaceUnless the target OS and driver is already supported, most portingprojects have to implement a driver wrapper. This may be done byadding a new driver interface module or modifying an existing module(driver_*.c) if the new target is similar to one of them. \refdriver_wrapper "Driver wrapper implementation" describes the detailsof the driver interface and discusses the tasks involved in portingthis part of %wpa_supplicant.\section l2_packet_porting l2_packet (link layer access)%wpa_supplicant needs to have access to sending and receiving layer 2(link layer) packets with two Ethertypes: EAP-over-LAN (EAPOL) 0x888eand RSN pre-authentication 0x88c7. l2_packet.h defines the interfacesused for this in the core %wpa_supplicant implementation.If the target operating system supports a generic mechanism for linklayer access, that is likely the best mechanism for providing theneeded functionality for %wpa_supplicant. Linux packet socket is anexample of such a generic mechanism. If this is not available, aseparate interface may need to be implemented to the network stack ordriver. This is usually an intermediate or protocol driver that isoperating between the device driver and the OS network stack. If sucha mechanism is not feasible, the interface can also be implementeddirectly in the device driver.The main %wpa_supplicant repository includes l2_packet implementationsfor Linux using packet sockets (l2_packet_linux.c), more portableversion using libpcap/libdnet libraries (l2_packet_pcap.c; thissupports WinPcap, too), and FreeBSD specific version of libpcapinterface (l2_packet_freebsd.c).If the target operating system is supported by libpcap (receiving) andlibdnet (sending), l2_packet_pcap.c can likely be used with minimal orno changes. If this is not a case or a proprietary interface for linklayer is required, a new l2_packet module may need to beadded. Alternatively, struct wpa_driver_ops::send_eapol() handler canbe used to override the l2_packet library if the link layer access isintegrated with the driver interface implementation.\section eloop_porting Event loop%wpa_supplicant uses a single process/thread model and an event loopto provide callbacks on events (registered timeout, received packet,signal). eloop.h defines the event loop interface. eloop.c is animplementation of such an event loop using select() and sockets. Thisis suitable for most UNIX/POSIX systems. When porting to otheroperating systems, it may be necessary to replace that implementationwith OS specific mechanisms that provide similar functionality.\section ctrl_iface_porting Control interface%wpa_supplicant uses a \ref ctrl_iface_page "control interface"to allow external processedto get status information and to control the operations. Currently,this is implemented with socket based communication; both UNIX domainsockets and UDP sockets are supported. If the target OS does notsupport sockets, this interface will likely need to be modified to useanother mechanism like message queues. The control interface isoptional component, so it is also possible to run %wpa_supplicantwithout porting this part.The %wpa_supplicant side of the control interface is implemented inctrl_iface.c. Matching client side is implemented as a controlinterface library in wpa_ctrl.c.\section entry_point Program entry point%wpa_supplicant defines a set of functions that can be used toinitialize main supplicant processing. Each operating system has amechanism for starting new processing or threads. This is usually afunction with a specific set of arguments and calling convention. Thisfunction is responsible on initializing %wpa_supplicant.main.c includes an entry point for UNIX-like operating system, i.e.,main() function that uses command line arguments for settingparameters for %wpa_supplicant. When porting to other operatingsystems, similar OS-specific entry point implementation is needed. Itcan be implemented in a new file that is then linked with%wpa_supplicant instead of main.o. main.c is also a good example onhow the initialization process should be done.The supplicant initialization functions are defined inwpa_supplicant_i.h. In most cases, the entry point function shouldstart by fetching configuration parameters. After this, a global%wpa_supplicant context is initialized with a call towpa_supplicant_init(). After this, existing network interfaces can beadded with wpa_supplicant_add_iface(). wpa_supplicant_run() is thenused to start the main event loop. Once this returns at programtermination time, wpa_supplicant_deinit() is used to release globalcontext data.wpa_supplicant_add_iface() and wpa_supplicant_remove_iface() can beused dynamically to add and remove interfaces based on when%wpa_supplicant processing is needed for them. This can be done, e.g.,when hotplug network adapters are being inserted and ejected. It isalso possible to do this when a network interface is beingenabled/disabled if it is desirable that %wpa_supplicant processingfor the interface is fully enabled/disabled at the same time.\section simple_build Simple build exampleOne way to start a porting project is to begin with a very simplebuild of %wpa_supplicant with WPA-PSK support and once that isbuilding correctly, start adding features.Following command can be used to build very simple version of%wpa_supplicant:\verbatimcc -o wpa_supplicant config.c eloop.c common.c md5.c rc4.c sha1.c \	config_none.c l2_packet_none.c tls_none.c wpa.c preauth.c \	aes_wrap.c wpa_supplicant.c events.c main_none.c drivers.c\endverbatimThe end result is not really very useful since it uses empty functionsfor configuration parsing and layer 2 packet access and does notinclude a driver interface. However, this is a good starting pointsince the build is complete in the sense that all functions arepresent and this is easy to configure to a build system by justincluding the listed C files.Once this version can be build successfully, the end result can bemade functional by adding a proper program entry point (main*.c),driver interface (driver_*.c and matching CONFIG_DRIVER_* define forregistration in drivers.c), configuration parser/writer (config_*.c),and layer 2 packet access implementation (l2_packet_*.c). After thesecomponents have been added, the end result should be a workingWPA/WPA2-PSK enabled supplicant.After the basic functionality has been verified to work, more featurescan be added by linking in more files and defining C pre-processordefines. Currently, the best source of information for what optionsare available and which files needs to be included is in the Makefileused for building the supplicant with make. Similar configuration willbe needed for build systems that either use different type of maketool or a GUI-based project configuration.*/

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
91精品午夜视频| 欧美一区日韩一区| 日本一不卡视频| 一区二区三区四区在线播放| 国产偷国产偷精品高清尤物 | 亚洲精品视频在线观看免费| 欧美国产一区视频在线观看| 久久久精品免费免费| 日韩欧美电影一二三| 欧美肥胖老妇做爰| 欧美老肥妇做.爰bbww| 欧美激情一区二区| 国产一区视频网站| 蜜臀av一级做a爰片久久| 麻豆精品视频在线观看| 色综合久久88色综合天天| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 久久精品一区二区三区不卡牛牛| 亚洲自拍偷拍麻豆| 夜夜亚洲天天久久| 91小视频免费观看| 欧美亚洲一区二区在线| 欧美影院精品一区| 亚洲男同性视频| 日韩电影在线一区二区三区| 在线免费观看成人短视频| 欧美一区二区黄色| 午夜精品久久久久久不卡8050| 亚洲超碰97人人做人人爱| 久久精品国产亚洲高清剧情介绍 | 日韩欧美一二区| 首页亚洲欧美制服丝腿| 狠狠色综合日日| 99国内精品久久| 欧美日韩黄色一区二区| 久久久高清一区二区三区| 九九视频精品免费| 91福利小视频| 亚洲精品在线电影| 亚洲色图在线视频| 蜜桃一区二区三区四区| 日韩亚洲欧美中文三级| 中文字幕欧美国产| 99久久久无码国产精品| 最新中文字幕一区二区三区| 日韩高清不卡一区二区三区| 欧美福利视频导航| 日本视频免费一区| 精品成人私密视频| 成人国产精品视频| 日韩一区二区在线看片| 狠狠色伊人亚洲综合成人| 国产欧美综合在线| 九九国产精品视频| 国产欧美中文在线| 色妞www精品视频| 亚洲超碰97人人做人人爱| 日韩欧美成人一区二区| 国产成人午夜片在线观看高清观看| 欧美在线观看一区| 美女视频免费一区| 国产精品久久久久久久久久久免费看| 亚洲最大色网站| 日韩一区二区在线观看| 国产成人亚洲精品狼色在线| 亚洲欧美一区二区三区孕妇| 777a∨成人精品桃花网| 国产精品一二三四五| 精品国产区一区| 99麻豆久久久国产精品免费 | 一本久道久久综合中文字幕| 天天综合色天天综合| 国产欧美一区二区三区沐欲| 91蜜桃婷婷狠狠久久综合9色| 日韩中文字幕亚洲一区二区va在线| 日韩欧美一级二级三级久久久| 国产69精品久久99不卡| 亚洲国产精品99久久久久久久久 | 欧美放荡的少妇| 粉嫩高潮美女一区二区三区| 亚洲午夜精品一区二区三区他趣| 日本伦理一区二区| 国产在线播精品第三| 一区二区三区小说| 国产欧美一区二区三区网站| 欧美一区日韩一区| 在线观看精品一区| 床上的激情91.| 欧美经典三级视频一区二区三区| 欧美美女视频在线观看| www.欧美精品一二区| 精品亚洲国内自在自线福利| 亚洲一区二区在线免费看| 国产情人综合久久777777| 欧美一区二区三区电影| 色呦呦国产精品| 岛国一区二区三区| 国产一区欧美日韩| 美日韩黄色大片| 亚洲6080在线| 亚洲激情自拍偷拍| 国产精品情趣视频| 色偷偷88欧美精品久久久| 国产精品一区专区| 久久er99热精品一区二区| 一区二区三区欧美激情| 中文字幕中文字幕一区二区 | 欧美一区二区三区免费观看视频| 欧美艳星brazzers| 91欧美一区二区| 不卡电影一区二区三区| 成人av电影观看| 高清国产午夜精品久久久久久| 国产一区二区三区电影在线观看 | 亚洲国产精品99久久久久久久久 | 一区二区三区四区不卡视频| 亚洲色图.com| 综合激情成人伊人| 亚洲日本va在线观看| 亚洲精选视频在线| 亚洲国产精品一区二区www在线| 亚洲黄色免费电影| 亚洲亚洲精品在线观看| 五月婷婷激情综合网| 天天色天天爱天天射综合| 日本午夜精品视频在线观看| 久色婷婷小香蕉久久| 极品少妇一区二区| 成人午夜视频在线| 色94色欧美sute亚洲线路一ni| 在线观看不卡一区| 91精品在线麻豆| 欧美va日韩va| 欧美日本一区二区三区| 在线综合视频播放| 久久嫩草精品久久久久| 日韩美女视频一区| 午夜在线成人av| 九九九精品视频| 不卡av免费在线观看| 欧美视频完全免费看| 日韩视频免费直播| 国产精品久久综合| 婷婷综合在线观看| 国产高清在线观看免费不卡| 色偷偷一区二区三区| 日韩一区二区三区视频| 日本一区二区三区在线不卡| 亚洲天堂中文字幕| 蜜臀av亚洲一区中文字幕| 成人h精品动漫一区二区三区| 日本精品一区二区三区四区的功能| 欧美剧在线免费观看网站| 久久久久久久久久美女| 亚洲黄色性网站| 国产一区二区三区不卡在线观看| 91丝袜美腿高跟国产极品老师 | 亚洲精品一区二区三区四区高清| 国产精品乱码人人做人人爱| 午夜影视日本亚洲欧洲精品| 国产麻豆精品theporn| 欧美亚洲一区三区| 欧美国产在线观看| 免费精品视频在线| 老司机免费视频一区二区 | 国产三级一区二区| 亚洲综合在线第一页| 国产一区二区三区高清播放| 欧美日韩精品一区二区三区 | 国产福利精品一区二区| 欧美美女视频在线观看| 亚洲日本在线天堂| 国产成人鲁色资源国产91色综| 欧美色中文字幕| 国产精品国产三级国产有无不卡| 日本午夜精品视频在线观看| 91福利在线导航| 国产精品久久久一本精品| 免费av网站大全久久| 欧美日韩你懂的| 欧美一级片在线| 亚洲自拍与偷拍| 91女神在线视频| 欧美国产丝袜视频| 黄网站免费久久| 精品理论电影在线观看| 奇米精品一区二区三区在线观看一| 99re这里只有精品首页| 国产欧美一区二区三区网站 | 日韩成人伦理电影在线观看| 欧美亚洲一区二区三区四区| 综合电影一区二区三区 | 日韩av一级片| 欧美日韩一区二区在线观看视频 | 国产精品丝袜久久久久久app| 国产一区二区女| 欧美成人a∨高清免费观看| 日韩av一区二区在线影视| 7777精品伊人久久久大香线蕉 | 色丁香久综合在线久综合在线观看|