simpacketanalyzer.hh

来自「Click is a modular router toolkit. To us」· HH 代码 · 共 43 行

HH
43
字号
#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 + =
减小字号Ctrl + -
显示快捷键?