📄 copyrxstats.hh
字号:
#ifndef CLICK_COPYRXSTATS_HH#define CLICK_COPYRXSTATS_HH#include <click/element.hh>#include <click/glue.hh>CLICK_DECLS/* * =c * * CopyRXStats(OFFSET) * * =s Wifi * Copies rate, signal and noise annotations into the packet at the * specified offset. * * =d * Copies rate, signal and noise annotations into the packet at the * specified offset. This is a cheap hack to make it simple to run * experiments and accumulate these stats per-packet. * * */class CopyRXStats : public Element { public: CopyRXStats(); ~CopyRXStats(); const char *class_name() const { return "CopyRXStats"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); bool can_live_reconfigure() const { return true; } Packet *simple_action(Packet *); private: unsigned int _offset;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -