Skip to content
Tom Barbette edited this page Oct 3, 2018 · 2 revisions

AnnotationInfo Element Documentation

NAME

AnnotationInfo — Click element; Define names for packet annotations.

SYNOPSIS

AnnotationInfo(NAME OFFSET SIZE, ... [keyword CHECK_OVERLAP ANNO...])

Ports: none

DESCRIPTION

Defines new mnemonic names for packet annotations. Each argument has the form "NAME OFFSET [SIZE]", which defines NAME as an annotation starting at byte offset OFFSET and with byte size SIZE.

The CHECK_OVERLAP argument lets you check whether a set of annotations overlap. CHECK_OVERLAP is followed by a list of annotation names; if any of the named annotations overlap, AnnotationInfo reports an error and fails to initialize.

Annotation names defined by default, such as PAINT, may not be redefined.

Generated by click-elem2man from ../elements/standard/annotationinfo.hh:6 on 2018/10/03.

Clone this wiki locally