📄 wepdecap.hh
字号:
#ifndef CLICK_WEPDECAP_HH#define CLICK_WEPDECAP_HH#include <click/element.hh>#include <clicknet/ether.h>#include <elements/wifi/rc4.hh>#include <clicknet/wifi.h>CLICK_DECLS/*=cWepDecap=s WifiTurns 802.11 packets into ethernet packets=d=e wifi_cl :: Classifier (0/00%0c, 0/04%0c, 0/08%0c); wifi_cl [0] -> Discard; //mgt wifi_cl [1] -> Discard; //ctl wifi_cl [2] -> wifi_decap :: WepDecap() -> ...=a WifiEncap */class WepDecap : public Element { public: WepDecap(); ~WepDecap(); const char *class_name() const { return "WepDecap"; } const char *port_count() const { return PORTS_1_1; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } Packet *simple_action(Packet *); void add_handlers(); bool _debug; bool _strict; u_int32_t iv; struct rc4_state _rc4; String _key; int _keyid; private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -