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

📄 bwratedsplitter.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
// -*- c-basic-offset: 4 -*-#ifndef CLICK_BWRATEDSPLITTER_HH#define CLICK_BWRATEDSPLITTER_HH#include "elements/standard/ratedsplitter.hh"CLICK_DECLS/* * =c * BandwidthRatedSplitter(RATE) * =s classification * splits flow of packets at specified bandwidth rate * =processing * Push * =d *  * BandwidthRatedSplitter has two output ports.  All incoming packets up to a * maximum of RATE are emitted on output port 0.  Any remaining packets are * emitted on output port 1.  RATE is a bandwidth, such as "384 kbps". * Unlike BandwidthMeter, the base RATE is emitted on output port * 0 even when the input rate is greater than RATE. * * =h rate read/write * rate of splitting * * =a RatedSplitter, BandwidthMeter, BandwidthShaper, BandwidthRatedUnqueue */class BandwidthRatedSplitter : public RatedSplitter { public:      BandwidthRatedSplitter();    ~BandwidthRatedSplitter();    const char *class_name() const	{ return "BandwidthRatedSplitter"; }      void push(int port, Packet *);};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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