diff options
author | Hannes Mezger <hannes.mezger@ascolab.com> | 2015-12-07 17:59:35 +0100 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2015-12-08 02:18:02 +0000 |
commit | 62b64e394242597883e32baeb268ef6746a431c6 (patch) | |
tree | 60454f9e30cd19251bda8a36ce126d6630730fcb /plugins/opcua/opcua_simpletypes.h | |
parent | 3a4d387658b9e8455ca645952a98c71d1b03b1a6 (diff) |
opcua: expand ReturnDiagnostics field of RequestHeader
The ReturnDiagnostics field of RequestHeader is a bitmask. It cannot be generated, as the information needed is not contained in our models used to generate the generated files. This is why I made a manual change to opcua_complextypeparser.c. In the future, this change has to be merged if the file gets regenerated.
Change-Id: Ic7db499566e3f3d3006feaff6e25e7b37a427dca
Reviewed-on: https://code.wireshark.org/review/12470
Petri-Dish: Michael Mann <mmann78@netscape.net>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'plugins/opcua/opcua_simpletypes.h')
-rw-r--r-- | plugins/opcua/opcua_simpletypes.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/plugins/opcua/opcua_simpletypes.h b/plugins/opcua/opcua_simpletypes.h index 05da5ca024..94fc19b140 100644 --- a/plugins/opcua/opcua_simpletypes.h +++ b/plugins/opcua/opcua_simpletypes.h @@ -19,6 +19,19 @@ ******************************************************************************/ #include "opcua_identifiers.h" +/* simple header fields */ +extern int hf_opcua_returnDiag; +extern int hf_opcua_returnDiag_mask_sl_symbolicId; +extern int hf_opcua_returnDiag_mask_sl_localizedText; +extern int hf_opcua_returnDiag_mask_sl_additionalinfo; +extern int hf_opcua_returnDiag_mask_sl_innerstatuscode; +extern int hf_opcua_returnDiag_mask_sl_innerdiagnostics; +extern int hf_opcua_returnDiag_mask_ol_symbolicId; +extern int hf_opcua_returnDiag_mask_ol_localizedText; +extern int hf_opcua_returnDiag_mask_ol_additionalinfo; +extern int hf_opcua_returnDiag_mask_ol_innerstatuscode; +extern int hf_opcua_returnDiag_mask_ol_innerdiagnostics; + /* simple types trees */ extern gint ett_opcua_array_Boolean; extern gint ett_opcua_array_SByte; @@ -45,6 +58,7 @@ extern gint ett_opcua_array_LocalizedText; extern gint ett_opcua_array_ExtensionObject; extern gint ett_opcua_array_DataValue; extern gint ett_opcua_array_Variant; +extern gint ett_opcua_returnDiagnostics; /* simple types */ proto_item* parseBoolean(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, gint *pOffset, int hfIndex); |