📄 associationresponder.hh
字号:
#ifndef CLICK_ASSOCIATIONRESPONDER_HH#define CLICK_ASSOCIATIONRESPONDER_HH#include <click/element.hh>#include <clicknet/ether.h>CLICK_DECLS/*=cAssociationResponder([, I<KEYWORDS>])=s Wifi, Wireless AccessPointRespond to 802.11 association requests.=dKeyword arguments are: =over 8=item CHANNELThe wireless channel it is operating on.=item SSIDThe SSID of the access point.=item BSSIDAn Ethernet Address (usually the same as the ethernet address of the wireless card).=item INTERVALhow often beacon packets are sent, in milliseconds.=back 8=a BeaconScanner*/class AssociationResponder : public Element { public: AssociationResponder(); ~AssociationResponder(); const char *class_name() const { return "AssociationResponder"; } const char *processing() const { return PUSH; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } void add_handlers(); void send_association_response(EtherAddress, uint16_t status, uint16_t associd); void recv_association_request(Packet *p); void send_disassociation(EtherAddress, uint16_t reason); void push(int, Packet *); bool _debug; uint16_t _associd; String scan_string(); class AvailableRates *_rtable; class WirelessInfo *_winfo; private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -