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

📄 counterrors.hh

📁 COPE the first practical network coding scheme which is developped on click
💻 HH
字号:
#ifndef CLICK_COUNTERRORS_HH#define CLICK_COUNTERRORS_HH#include <click/element.hh>#include <click/etheraddress.hh>#include <click/bighashmap.hh>#include <click/glue.hh>CLICK_DECLSclass CountErrors : public Element { public:    CountErrors();  ~CountErrors();    const char *class_name() const		{ return "CountErrors"; }  const char *processing() const		{ return PUSH; }    int configure(Vector<String> &, ErrorHandler *);  bool can_live_reconfigure() const		{ return true; }  void push (int port, Packet *p_in);  void add_handlers();  EtherAddress _bcast;  int _sum_signal;  int _sum_noise;  int _packets;  unsigned _length;  unsigned _et;  EtherAddress _src;  int good_packet;  bool _runs;  int _ok_bytes;  int _error_bytes;  int _correct_threshold;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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