cpuswitch.hh

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

HH
35
字号
#ifndef CPUSWITCH_HH#define CPUSWITCH_HH#include <click/element.hh>/* * =c * CPUSwitch() * =s classification * classifies packets by cpu * =d * Can have any number of outputs. * Chooses the output on which to emit each packet based on the thread's cpu. * =a * RoundRobinSwitch, StrideSwitch, HashSwitch */class CPUSwitch : public Element { public:    CPUSwitch();  ~CPUSwitch();    const char *class_name() const		{ return "CPUSwitch"; }  const char *processing() const		{ return PUSH; }  void notify_noutputs(int);    int configure(Vector<String> &, ErrorHandler *);    void push(int port, Packet *);  };#endif

⌨️ 快捷键说明

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