ackunenc.hh

来自「COPE the first practical network coding 」· HH 代码 · 共 78 行

HH
78
字号
#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 + =
减小字号Ctrl + -
显示快捷键?