📄 filterfailures.hh
字号:
#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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -