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

📄 cpuswitch.hh

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 HH
字号:
#ifndef CPUSWITCH_HH#define CPUSWITCH_HH#include <click/element.hh>/* * =c * CPUSwitch() * =s smpclick * 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 *port_count() const		{ return "1/1-"; }  const char *processing() const		{ return PUSH; }  void push(int port, Packet *);};#endif

⌨️ 快捷键说明

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