📄 annotationinfo.hh
字号:
#ifndef CLICK_ANNOTATIONINFO_HH#define CLICK_ANNOTATIONINFO_HH#include <click/element.hh>CLICK_DECLS/*=cAnnotationInfo(NAME OFFSET SIZE, ... [I<keyword> CHECK_OVERLAP ANNO...])=s informationDefine names for packet annotations.=dDefines new mnemonic names for packet annotations. Each argument has the form"NAME OFFSET [SIZE]", which defines NAME as an annotation starting at byteoffset OFFSET and with byte size SIZE.The CHECK_OVERLAP argument lets you check whether a set of annotationsoverlap. CHECK_OVERLAP is followed by a list of annotation names; if any ofthe named annotations overlap, AnnotationInfo reports an error and fails toinitialize.Annotation names defined by default, such as PAINT, may not be redefined.*/class AnnotationInfo : public Element { public: AnnotationInfo(); ~AnnotationInfo(); const char *class_name() const { return "AnnotationInfo"; } int configure_phase() const { return CONFIGURE_PHASE_FIRST; } int configure(Vector<String> &conf, ErrorHandler *errh); int initialize(ErrorHandler *errh);};CLICK_ENDDECLS#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -