The newly created DissectorTable
10.4.6.2.2. DissectorTable.get(tablename)
Obtain a reference to an existing dissector table.
10.4.6.2.2.1. Arguments
tablename The short name of the table.
10.4.6.2.2.2. Returns
The DissectorTable
10.4.6.2.3. dissectortable:add(pattern, dissector)
Add a dissector to a table.
10.4.6.2.3.1. Arguments
pattern The pattern to match (either an integer or a string depending on the table's type).
dissector The dissector to add (either an Proto or a Dissector).
10.4.6.2.4. dissectortable:remove(pattern, dissector)
Remove a dissector from a table
10.4.6.2.4.1. Arguments
pattern The pattern to match (either an integer or a string depending on the table's type).
dissector The dissector to add (either an Proto or a Dissector).
10.4.6.2.5. dissectortable:try(pattern, tvb, pinfo, tree)
Try to call a dissector from a table
10.4.6.2.5.1. Arguments
pattern The pattern to be matched (either an integer or a string depending on the table's type).
tvb The buffer to dissect
pinfo The packet info
tree The tree on which to add the protocol items
10.4.6.2.6. dissectortable:get_dissector(pattern)
Try to obtain a dissector from a table.
10.4.6.2.6.1. Arguments
pattern The pattern to be matched (either an integer or a string depending on the table's type).
Lua Support in Wireshark
211
Kommentare zu diesen Handbüchern