📄 simpacketanalyzer.hh
字号:
#ifndef CLICK_SIMPACKETANALYZER_HH#define CLICK_SIMPACKETANALYZER_HH#include <click/element.hh>CLICK_DECLS/* =c * * SimPacketAnalyzer() * * =s traces * * superclass for entering packet analyses in an ns2 trace * * =d * * Implement this interface for specific protocols to allow analysis of * packets in ToSimTrace. * * =a * ToSimTrace */class SimPacketAnalyzer : public Element{public: SimPacketAnalyzer(); ~SimPacketAnalyzer(); const char *class_name() const { return "SimPacketAnalyzer"; } const char *processing() const { return PUSH; } const char *port_count() const { return PORTS_0_0; } virtual String analyze(Packet*, int offset) = 0;private:};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -