User Guide

name Actual name of the field (the string that appears in the tree).
abbr Filter name of the field (the string that is used in filters).
type Field Type (FT_*).
valuestring (optional) a ValueString object.
base (optional) The representation BASE_*.
mask (optional) the bitmask to be used.
descr (optional) The description of the field.
10.4.6.6.1.2. Returns
The newly created ProtoField object
10.4.6.6.2. ProtoField.uint8(abbr, [name], [base], [valuestring], [mask], [desc])
10.4.6.6.2.1. Arguments
abbr abbreviated name of the field (the string used in filters)
name (optional) Actual name of the field (the string that appears in the tree)
base (optional) one of base.DEC, base.HEX or base.OCT
valuestring (optional) a table containing the text that corresponds to the values
mask (optional) integer mask of this field
desc (optional) description of the field
10.4.6.6.2.2. Returns
a protofield item to be added to a ProtoFieldArray
10.4.6.6.3. ProtoField.uint16(abbr, [name], [base], [valuestring], [mask], [desc])
10.4.6.6.3.1. Arguments
abbr abbreviated name of the field (the string used in filters)
name (optional) Actual name of the field (the string that appears in the tree)
base (optional) one of base.DEC, base.HEX or base.OCT
valuestring (optional) a table containing the text that corresponds to the values
mask (optional) integer mask of this field
desc (optional) description of the field
10.4.6.6.3.2. Returns
a protofield item to be added to a ProtoFieldArray
10.4.6.6.4. ProtoField.uint24(abbr, [name], [base], [valuestring], [mask], [desc])
Lua Support in Wireshark
215