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