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

📄 filtertx.hh

📁 Click is a modular router toolkit. To use it you ll need to know how to compile and install the sof
💻 HH
字号:
#ifndef CLICK_FILTERTX_HH#define CLICK_FILTERTX_HH#include <click/element.hh>#include <click/etheraddress.hh>#include <click/bighashmap.hh>#include <click/glue.hh>CLICK_DECLS/*=cFilterTX([, I<KEYWORDS>])=s WifiFilter out wireless transmission feedback packets=dFilters out packets that were sent by this node, andreceived via transmit feedback.Sends these packets to output 1 if it is present,otherwise it drops the packets.=a ExtraEncap, ExtraDecap*/class FilterTX : public Element { public:  FilterTX();  ~FilterTX();  const char *class_name() const		{ return "FilterTX"; }  const char *port_count() const		{ return PORTS_1_1X2; }  const char *processing() const		{ return PROCESSING_A_AH; }  void add_handlers();  static String static_print_drops(Element *, void *);  static String static_print_max_failures(Element *, void *);  static int static_write_max_failures(const String &arg, Element *e,				void *, ErrorHandler *errh);  static String static_print_allow_success(Element *, void *);  static int static_write_allow_success(const String &arg, Element *e,				void *, ErrorHandler *errh);  Packet *simple_action(Packet *);  int _drops;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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