⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 printold.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_PRINTOLD_HH#define CLICK_PRINTOLD_HH#include <click/element.hh>#include <click/string.hh>CLICK_DECLS/*=cPrintOld([TAG, THRESH, NBYTES])=s debuggingconditionally prints packet contents =dPrints up to NBYTES bytes of data from each packet, in hex, precededby the TAG text, if more than THRESH milliseconds have elapsed sincethe packet was timestamped.  Default THRESH is 5 milliseconds.Default NBYTES is 24.=aIPPrint Print*/class PrintOld : public Element { public:  PrintOld();  ~PrintOld();    const char *class_name() const		{ return "PrintOld"; }  const char *processing() const		{ return AGNOSTIC; }    int configure(Vector<String> &, ErrorHandler *);    Packet *simple_action(Packet *);   private:    String _label;  unsigned _bytes;		// How many bytes of a packet to print  int _thresh;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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