User Guide

Lua Support in Wireshark
191
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
11.10.6.4.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.5. ProtoField.uint32(abbr, [name], [base], [valuestring],
[mask], [desc])
11.10.6.5.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
11.10.6.5.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.6. ProtoField.uint64(abbr, [name], [base], [valuestring],
[mask], [desc])
11.10.6.6.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
11.10.6.6.2. Returns
A protofield item to be added to a ProtoFieldArray