OPC UA: Added details for BrowseDescription NodeClassMask and ResultMask
authorCamille Guérin <guerincamille56@gmail.com>
Mon, 1 May 2017 21:36:21 +0000 (23:36 +0200)
committerMichael Mann <mmann78@netscape.net>
Fri, 12 May 2017 16:48:18 +0000 (16:48 +0000)
commit95ec5329a3647f02629454d7f7716a170e97fb91
tree95b155e47b147f5350e5ec346a37b7b783996c31
parent4b9e481665b3c28c5730a8297ec984562f4a1728
OPC UA: Added details for BrowseDescription NodeClassMask and ResultMask

Display the details for the NodeClassMask and ResultMask values in a
BrowseRequest's BrowseDescription.
As described in OPC UA 1.03 Specification, the value 0 for the
NodeClassMask and the value 63 (0x003F) for ResultMask should results in
returning all the fields in the BrowseResponse.
Display 'All' when those fields have those values
Display a detailled bit tree mask when values are different

Code Change:
Added parseNodeClass and parseResultMask
Use them in parseBrowseDescription instead of parseUInt32
Removed not needed anymore hf_opcua_NodeClassMask, hf_opcua_ResultMask
and their related entries in registerFieldTypes

Change-Id: Ic3ed8630825b5456f91156f06b2203ebfa422155
Reviewed-on: https://code.wireshark.org/review/21446
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
plugins/opcua/opcua_complextypeparser.c
plugins/opcua/opcua_enumparser.c
plugins/opcua/opcua_enumparser.h
plugins/opcua/opcua_hfindeces.c
plugins/opcua/opcua_hfindeces.h
plugins/opcua/opcua_simpletypes.c
plugins/opcua/opcua_simpletypes.h