📄 extraencap.hh
字号:
#ifndef CLICK_EXTRAENCAP_HH#define CLICK_EXTRAENCAP_HH#include <click/element.hh>#include <clicknet/ether.h>CLICK_DECLS/*=cExtraEncap()=s WifiPushes the click_wifi_extra header on a packet based on information in Packet::anno()=dCopies the wifi_extra_header from Packet::anno() and pushes it onto the packet.=a ExtraDecap, SetTXRate*/class ExtraEncap : public Element { public: ExtraEncap(); ~ExtraEncap(); const char *class_name() const { return "ExtraEncap"; } 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; private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -