Skip to content

Commit

Permalink
gryphon: General cleanup/improvements of dissector
Browse files Browse the repository at this point in the history
1. Use switch statement for request/response functions
2. Reorder functions to limit the need for forward declarations
3. Use proto_tree_add_item_ret_uint and proto_tree_add_item_ret_length to
limit "duplicate" functionality.
4. Create initial (simple) request/response matching.  This can probably be
improved upon.
5. Use the request/response matching structures to pass (ioctl) context between
request and response.

Change-Id: I3f4c16c07f4b3aa9556d229d003a4842ff118cd9
Reviewed-on: https://code.wireshark.org/review/34404
Petri-Dish: Michael Mann <[email protected]>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <[email protected]>
  • Loading branch information
mmann78 authored and AndersBroman committed Sep 1, 2019
1 parent e86880b commit b28952a
Show file tree
Hide file tree
Showing 2 changed files with 943 additions and 786 deletions.
Loading

0 comments on commit b28952a

Please sign in to comment.