Wireshark - 1.0 Betriebsanweisung Seite 225

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 284
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 224
10.4.5.4.28. pinfo.private_data
Access to private data
10.4.6. Functions for writing dissectors
10.4.6.1. Dissector
A refererence to a dissector, used to call a dissector against a packet or a part of it.
10.4.6.1.1. Dissector.get(name)
* Obtains a dissector reference by name
10.4.6.1.1.1. Arguments
name The name of the dissector
10.4.6.1.1.2. Returns
The Dissector reference
10.4.6.1.2. dissector:call(tvb, pinfo, tree)
* Calls a dissector against a given packet (or part of it)
10.4.6.1.2.1. Arguments
tvb The buffer to dissect
pinfo The packet info
tree The tree on which to add the protocol items
10.4.6.2. DissectorTable
A table of subdissectors of a particular protocol (e.g. TCP subdissectors like http, smtp, sip are ad-
ded to table "tcp.port"). Useful to add more dissectors to a table so that they appear in the Decode
As... dialog.
10.4.6.2.1. DissectorTable.new(tablename, [uiname], [type], [base])
Creates a new DissectorTable for your dissector's use .
10.4.6.2.1.1. Arguments
tablename The short name of the table.
uiname (optional) The name of the table in the User Interface (defaults to the name given).
type (optional) either FT_UINT* or FT_STRING (defaults to FT_UINT32)
base (optional) either BASE_NONE, BASE_DEC, BASE_HEX, BASE_OCT,
BASE_DEC_HEX or BASE_HEX_DEC (defaults to BASE_DEC)
10.4.6.2.1.2. Returns
Lua Support in Wireshark
210
Seitenansicht 224
1 2 ... 220 221 222 223 224 225 226 227 228 229 230 ... 283 284

Kommentare zu diesen Handbüchern

Keine Kommentare