User Guide
Lua Support in Wireshark
194
11.10.6.12.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.12.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.13. ProtoField.bool(abbr, [name], [display], [string], [mask],
[desc])
11.10.6.13.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)
display (optional) how wide the parent bitfield is (base.NONE is used for NULL-value)
string (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.13.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.14. ProtoField.absolute_time(abbr, [name], [base], [desc])
11.10.6.14.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.LOCAL, base.UTC or base.DOY_UTC
desc (optional) Description of the field
11.10.6.14.2. Returns
A protofield item to be added to a ProtoFieldArray