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

📄 copyflowid.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_COPYFLOWID_HH#define CLICK_COPYFLOWID_HH#include <click/element.hh>#include <click/ipflowid.hh>CLICK_DECLS/* * =c * CopyFlowID() * =s UDP/TCP * sets UDP/TCP flow ID * =d * remembers flow id from packets between input/output 0, tag the flow id onto * packets between input/output 1. only remembers the flow id from the first * packet after initialization or reset. */class CopyFlowID : public Element {private:  static int reset_write_handler    (const String &, Element *, void *, ErrorHandler *);  void monitor(Packet *);  Packet *set(Packet *);  bool _start;  IPFlowID _flow;public:  CopyFlowID();  ~CopyFlowID();    const char *class_name() const	{ return "CopyFlowID"; }  const char *processing() const	{ return AGNOSTIC; }  int initialize(ErrorHandler *);  int configure(Vector<String> &conf, ErrorHandler *errh);  void push(int, Packet *);  Packet *pull(int);  void add_handlers();};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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