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

📄 aggregatelen.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
// -*- mode: c++; c-basic-offset: 4 -*-#ifndef CLICK_AGGREGATELEN_HH#define CLICK_AGGREGATELEN_HH#include <click/element.hh>/*=cAggregateLength(I<KEYWORDS>)=s analysissets aggregate annotation based on packet length=dAggregateLength sets the aggregate annotation on every passing packet to thepacket's length, plus any length stored in the extra length annotation.Keyword arguments are:=over 8=item IPBoolean. If true, then only include length starting at the IP header. Defaultis false.=back=nIf IP is true, then packets without a network header are pushed onto output 1,or dropped if there is no output 1.=aAggregateIP, AggregateCounter*/class AggregateLength : public Element { public:    AggregateLength();    ~AggregateLength();    const char *class_name() const	{ return "AggregateLength"; }    const char *processing() const	{ return AGNOSTIC; }    int configure(Vector<String> &, ErrorHandler *);    void push(int, Packet *);    Packet *pull(int);      private:    bool _ip;    Packet *handle_packet(Packet *);    Packet *bad_packet(Packet *);    };#endif

⌨️ 快捷键说明

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