recpfilter.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 63 行
HH
63 行
#ifndef CLICK_RECPFILTER_HH#define CLICK_RECPFILTER_HH#include <click/element.hh>CLICK_DECLS// ***sort out manual page later!/*=cRECPFilter(ETHER [, DROP_OWN, DROP_OTHER, I<KEYWORDS>])=s =doutput 0: precpets without the recp header (and with ethernet header modified)output 1: a precpet with the original ethernet and recp headerKeyword arguments are:=over 8=item ETHTYPEEthernet encapsulation type=item OFFSETThe ethernet header starts OFFSET bytes into the precpet. Default OFFSET is 0.=brecp=a */class RecpFilter : public Element { public: RecpFilter(); ~RecpFilter(); const char *class_name() const { return "RecpFilter"; } const char *processing() const { return PUSH; } //void notify_noutputs(int); int configure(Vector<String> &, ErrorHandler *); void push(int, Packet *); private: uint16_t _et; uint16_t _et_nothing; int _offset; };CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?