Wireshark-commits: [Wireshark-commits] master b307ffe: Implement proto_tree_add_item_ret_int() and
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=b307ffe0f990860284f6e2be4f7a8f01fa822d36
Submitter: Anders Broman (a.broman58@xxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
b307ffe by AndersBroman (anders.broman@xxxxxxxxxxxx):
Implement proto_tree_add_item_ret_int() and proto_tree_add_item_ret_uint() which
works as proto_tree_add_item(), but also returns the value of (u)ints
of 8,16,24 and 32 bits length in a 32 bit variable. It's based on Hadriels
previous work.
Change-Id: If3b4b8588b63251f1ee9b954a202acde7c02ce86
Reviewed-on: https://code.wireshark.org/review/7230
Petri-Dish: Anders Broman <a.broman58@xxxxxxxxx>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@xxxxxxxxxxxxx>
Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
Actions performed:
from ef7e4c5 Netflow/Ipfix: Add Citrix Netscaler AppFlow
adds b307ffe Implement proto_tree_add_item_ret_int() and proto_tree_add_item_ret_uint() which works as proto_tree_add_item(), but also returns the value of (u)ints of 8,16,24 and 32 bits length in a 32 bit variable. It's based on Hadriels previous work.
Summary of changes:
debian/libwireshark0.symbols | 2 ++
doc/README.dissector | 14 ++++++++
epan/dissectors/packet-tcp.c | 25 ++++++-------
epan/proto.c | 79 ++++++++++++++++++++++++++++++++++++++++++
epan/proto.h | 37 ++++++++++++++++++++
tools/checkAPIs.pl | 2 +-
6 files changed, 144 insertions(+), 15 deletions(-)