📄 wifidecap.hh
字号:
#ifndef CLICK_WIFIDECAP_HH#define CLICK_WIFIDECAP_HH#include <click/element.hh>#include <clicknet/ether.h>CLICK_DECLS/*=cWifiDecap=s WifiTurns 802.11 packets into ethernet packets.=dStrips the 802.11 frame header and llc header off the packet and pushesan ethernet header onto the packet. Discards packets that are shorterthan the length of the 802.11 frame header and llc header.=eFromDevice(ath0)-> ExtraDecap()-> FilterTX()-> FilterPhyErr()-> wifi_cl :: Classifier (0/08%0c); //data packets-> wifi_decap :: WifiDecap()-> HostEtherFilter(ath0, DROP_OTHER true, DROP_OWN true)...=a WifiEncap */class WifiDecap : public Element { public: WifiDecap(); ~WifiDecap(); const char *class_name() const { return "WifiDecap"; } 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; private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -