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

📄 setannobyte.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_SETANNOBYTE_HH#define CLICK_SETANNOBYTE_HH#include <click/element.hh>CLICK_DECLS/*=cSetAnnoByte(OFFSET, VALUE)=s annotationssets packet user annotations=dSets each packet's user annotation byte at OFFSET to VALUE, an integer0..255.  Permissible values for OFFSET are 0 to n-1, inclusive, wheren is typically 24.=h offset read-only  Returns OFFSET=h value read-only   Returns VALUE =a Paint */class SetAnnoByte : public Element {    unsigned int _offset;  unsigned char _value; public:    SetAnnoByte();  ~SetAnnoByte();    const char *class_name() const		{ return "SetAnnoByte"; }  const char *processing() const		{ return AGNOSTIC; }  bool can_live_reconfigure() const             { return true; }    int configure(Vector<String> &, ErrorHandler *);  Packet *simple_action(Packet *);  void add_handlers();  static String offset_read_handler(Element *e, void *);  static String value_read_handler(Element *e, void *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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