User Guide

Lua Support in Wireshark
187
11.10.6.19. ProtoField.string(abbr, [name], [desc])
11.10.6.19.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.19.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.20. ProtoField.stringz(abbr, [name], [desc])
11.10.6.20.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.20.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.21. ProtoField.bytes(abbr, [name], [desc])
11.10.6.21.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.21.2. Returns
A protofield item to be added to a ProtoFieldArray
11.10.6.22. ProtoField.ubytes(abbr, [name], [desc])
11.10.6.22.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.22.2. Returns
A protofield item to be added to a ProtoFieldArray