User Guide
Lua Support in Wireshark
185
11.10.6.12. ProtoField.framenum(abbr, [name], [base], [valuestring],
[mask], [desc])
A frame number (for hyperlinks between frames)
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.ipv4(abbr, [name], [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)
desc (optional) Description of the field
11.10.6.14.2. Returns
A protofield item to be added to a ProtoFieldArray