checkpaint.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 45 行

HH
45
字号
#ifndef CLICK_CHECKPAINT_HH#define CLICK_CHECKPAINT_HH#include <click/element.hh>CLICK_DECLS/*=cCheckPaint(COLOR)=s checkingchecks packets' paint annotation=dChecks that incoming packets have paint annotation equal to COLOR. If theirpaints are not equal to COLOR, then they are dropped or emitted on output 1,depending on how many outputs were used.=a Paint, PaintTee */class CheckPaint : public Element { public:  CheckPaint();  ~CheckPaint();    const char *class_name() const	{ return "CheckPaint"; }  const char *processing() const	{ return "a/ah"; }  void notify_noutputs(int);  int configure(Vector<String> &, ErrorHandler *);    void push(int, Packet *);  Packet *pull(int);   private:    uint8_t _color;  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?