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

📄 ackunenc.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_ACKUNENC_HH#define CLICK_ACKUNENC_HH#include <click/element.hh>#include "scramblequeue.hh"#include "recvmanager.hh"CLICK_DECLS// ***sort out manual page later!/*=cAckFilter(ETHER [, DROP_OWN, DROP_OTHER, I<KEYWORDS>])=s =doutput 0: packets without the ack header (and with ethernet header modified)output 1: a packet with the original ethernet and ack headerKeyword arguments are:=over 8=item ETHTYPEEthernet encapsulation type=item OFFSETThe ethernet header starts OFFSET bytes into the packet. Default OFFSET is 0.=back=a */class AckUnencoded : public Element {  public:    AckUnencoded();  ~AckUnencoded();  const char *class_name() const		{ return "AckUnencoded"; }  const char *processing() const		{ return PUSH; }  //void notify_noutputs(int);  int configure(Vector<String> &, ErrorHandler *);  void add_handlers();  static String stats(Element *, void *);  static int static_clear(const String &arg, Element *e, void *, ErrorHandler *errh);  void push(int, Packet *);  // statistics  int _nreceivedpkts;  int _nduplicatepkts;  int _nnewpkts;  int _nreceivedbytes;  int _nduplicatebytes;  int _nnewbytes;   private:  RecvManager* _recvmgr;  ScrambleQueue *_scrambleq;  };CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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