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

📄 strideswitch.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_STRIDESWITCH_HH#define CLICK_STRIDESWITCH_HH#include "elements/standard/stridesched.hh"CLICK_DECLS/* * =c * StrideSwitch(TICKETS0, ..., TICKETSI<N-1>) * =s classification * sends packets to stride-scheduled outputs * =d * Has one input and N outputs.  Performs simple packet-based stride * switching, assigning TICKETSI<i> to output I<i>. *  * Each time a packet arrives on the input, StrideSwitch sends the packet to * the next scheduled output according to the stride scheduling algorithm. * * =h tickets0...ticketsI<N-1> read/write * Returns or sets the number of tickets for each output port. * * =a RoundRobinSwitch, Switch, HashSwitch, RandomSwitch, StrideSched */class StrideSwitch : public StrideSched { public:    StrideSwitch();  ~StrideSwitch();  const char *class_name() const		{ return "StrideSwitch"; }  const char *processing() const		{ return PUSH; }    int configure(Vector<String> &conf, ErrorHandler *errh);    void push(int, Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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