associationrequester.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 78 行

HH
78
字号
#ifndef CLICK_ASSOCIATIONREQUESTER_HH#define CLICK_ASSOCIATIONREQUESTER_HH#include <click/element.hh>#include <clicknet/ether.h>CLICK_DECLS/*=cAssociationRequester=s Wifi, Wireless StationSends 802.11 association requests when poked.=d =h bssid read/writeThe bssid to associate to=h eth read/writeThe station's ethernet address=h ssid read/writeThe ssid to associate to=h listen_interval read/writeThe listen interval for the station, in milliseconds=h associated read onlyIf a association response was received and its status equals 0, this willbe true.=h send_assoc_reqSends an association request based on values of the handlers.=a BeaconScanner */class AssociationRequester : public Element { public:    AssociationRequester();  ~AssociationRequester();  const char *class_name() const	{ return "AssociationRequester"; }  const char *processing() const	{ return PUSH; }    int configure(Vector<String> &, ErrorHandler *);  bool can_live_reconfigure() const	{ return true; }  void push(int, Packet *);  void send_assoc_req();  void add_handlers();  void reset();  void process_response(Packet *p);  void process_disassociation(Packet *p);  bool _debug;  bool _associated;  EtherAddress _eth;  class AvailableRates *_rtable;  class WirelessInfo *_winfo;  String scan_string(); private:};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?