ip6print.hh
来自「COPE the first practical network coding 」· HH 代码 · 共 49 行
HH
49 行
#ifndef CLICK_IP6PRINT_HH#define CLICK_IP6PRINT_HH#include <click/element.hh>#include <click/string.hh>CLICK_DECLS/*=cIP6Print([TAG, NBYTES, CONTENTS])=s IP, debuggingpretty-prints IP6 packets=ddumps simple information about ip6 packet.may someday be as good as IPPrint. TAG specifies the label at the head of eachline. NBYTES specify how many bytes to printand CONTENTS specify if the content shouldbe printed, in hex. NBYTES and CONTENTSare keywords.=a IPPrint, CheckIPHeader */class IP6Print : public Element { public: IP6Print(); ~IP6Print(); const char *class_name() const { return "IP6Print"; } const char *processing() const { return AGNOSTIC; } int configure(Vector<String> &, ErrorHandler *); Packet *simple_action(Packet *); private: String _label; unsigned _bytes; bool _contents;};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?