diff options
author | Graham Bloice <graham.bloice@trihedral.com> | 2015-11-21 16:08:28 +0000 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2015-11-22 08:34:11 +0000 |
commit | 46876a91c2bf9968fe38feea776be7c0efb7006c (patch) | |
tree | ba2cf5a3c339b4049ee04191e23e65508854c727 /docbook/wsdg_src/WSDG_chapter_dissection.asciidoc | |
parent | 782be9a50f5754277749e05a49ce9d30026570d9 (diff) | |
download | wireshark-46876a91c2bf9968fe38feea776be7c0efb7006c.tar.gz |
Developers Guide Updates
Fix a bunch of typos.
Commented out Strawberry Perl section on Windows, CMake no longer
uses it.
Removed commented out svn commit section.
Change-Id: Ied53c1b9aed69dc2c99449ef198f69a8cba42d5e
Reviewed-on: https://code.wireshark.org/review/12011
Reviewed-by: Graham Bloice <graham.bloice@trihedral.com>
Petri-Dish: Graham Bloice <graham.bloice@trihedral.com>
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'docbook/wsdg_src/WSDG_chapter_dissection.asciidoc')
-rw-r--r-- | docbook/wsdg_src/WSDG_chapter_dissection.asciidoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc b/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc index bd7253aeb3..1930a96123 100644 --- a/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc +++ b/docbook/wsdg_src/WSDG_chapter_dissection.asciidoc @@ -132,7 +132,7 @@ be called to do the actual dissecting. Then we associate the handle with a UDP port number so that the main program will know to call us when it gets UDP traffic on that port. -The stardard Wireshark dissector convention is to put +proto_register_foo()+ and +The standard Wireshark dissector convention is to put +proto_register_foo()+ and +proto_reg_handoff_foo()+ as the last two functions in the dissector source. Now at last we get to write some dissecting code. For the moment we'll @@ -338,7 +338,7 @@ as +foo.type=1+ into the filter box. This tallies with our call above where we tell it to only look at one byte. * 'BASE_DEC' - Tor an integer type, this tells it to be printed as a decimal -number. It could be hexdecimal (BASE_HEX) or octal (BASE_OCT) if that made more sense. +number. It could be hexadecimal (BASE_HEX) or octal (BASE_OCT) if that made more sense. We'll ignore the rest of the structure for now. @@ -975,7 +975,7 @@ exception. Adding a Tap interface to a protocol allows it to do some useful things. In particular you can produce protocol statistics from the tap interface. -A tap is basically a way of allowing other items to see whats happening as +A tap is basically a way of allowing other items to see what's happening as a protocol is dissected. A tap is registered with the main program, and then called on each dissection. Some arbitrary protocol specific data is provided with the routine that can be used. |