filterfailures.hh

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

HH
47
字号
#ifndef CLICK_FILTERFAILURES_HH#define CLICK_FILTERFAILURES_HH#include <click/element.hh>#include <click/etheraddress.hh>#include <click/bighashmap.hh>#include <click/glue.hh>CLICK_DECLS/*=cFilterFailures([I<KEYWORDS>])=s WifiFilters unicast packets that failed to be acknowledged=dFilters out packets that have the WIFI_EXTRA_TX_FAIL flag set.Sends these packets to output 1 if it is present, otherwise it drops the packets.=h drops read-onlyHow many packets had the WIFI_EXTRA_TX_FAIL flag set.=a ExtraDecap */class FilterFailures : public Element { public:    FilterFailures();  ~FilterFailures();    const char *class_name() const		{ return "FilterFailures"; }  const char *processing() const		{ return "a/ah"; }  void notify_noutputs(int);  int configure(Vector<String> &, ErrorHandler *);  void add_handlers();  static String static_print_drops(Element *, void *);  Packet *simple_action(Packet *);  int _drops;};CLICK_ENDDECLS#endif

⌨️ 快捷键说明

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