filtertxrahulh
来自「COPE the first practical network coding 」· 代码 · 共 55 行
TXT
55 行
#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 *processing() const { return "a/ah"; } void notify_noutputs(int); int configure(Vector<String> &, ErrorHandler *); 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 + =
减小字号Ctrl + -
显示快捷键?