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

📄 painttee.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_PAINTTEE_HH#define CLICK_PAINTTEE_HH#include <click/element.hh>CLICK_DECLS/* * =c * PaintTee(X) * =s duplication * duplicates packets with given paint annotation * =d * PaintTee sends every packet through output 0. If the packet's * color annotation is equal to X (an integer), it also * sends a copy through output 1. * * =e * Intended to produce redirects in conjunction with Paint and * ICMPError as follows: * *   FromDevice(eth7) -> Paint(7) -> ... *   routingtable[7] -> pt :: PaintTee(7) -> ... -> ToDevice(eth7) *   pt[1] -> ICMPError(18.26.4.24, 5, 1) -> [0]routingtable; * * =a Paint, ICMPError */class PaintTee : public Element {    int _color;   public:    PaintTee();  ~PaintTee();    const char *class_name() const	{ return "PaintTee"; }  const char *processing() const	{ return "a/ah"; }    int configure(Vector<String> &, ErrorHandler *);    Packet *simple_action(Packet *);  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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