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

📄 hub.hh

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 HH
字号:
#ifndef CLICK_HUB_HH#define CLICK_HUB_HH#include <click/element.hh>CLICK_DECLS/*=cHub()=s basictransferduplicates packets like a hub=dHub sends a copy of each input packet out each output port.  However, a packetreceived on input port N is not emitted on output port N.  Thus, the elementacts sort of like an Ethernet hub (but it is not Ethernet specific).=aTee, EtherSwitch*/class Hub : public Element { public:    Hub();    ~Hub();    const char *class_name() const		{ return "Hub"; }    const char *port_count() const		{ return "-/="; }    const char *processing() const		{ return PUSH; }    const char *flow_code() const		{ return "#/[^#]"; }    void push(int port, Packet* p);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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