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