idle.hh

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

HH
41
字号
#ifndef CLICK_IDLE_HH#define CLICK_IDLE_HH#include <click/element.hh>#include <click/notifier.hh>CLICK_DECLS/* * =c * Idle * =s dropping * discards packets * =d * * Has zero or more agnostic outputs and zero or more agnostic inputs. It * never pushes a packet to any output or pulls a packet from any input. Any * packet it does receive is discarded. Used to avoid "input not connected" * error messages. */class Idle : public Element, public Notifier { public:    Idle();  ~Idle();    const char *class_name() const	{ return "Idle"; }  const char *processing() const	{ return "a/a"; }  const char *flow_code() const		{ return "x/y"; }  void *cast(const char *);  void notify_ninputs(int);  void notify_noutputs(int);  const char *flags() const		{ return "S0"; }  NotifierSignal notifier_signal();    void push(int, Packet *);  Packet *pull(int);  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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