17#ifndef OPCUA_IDENTIFIERS_H
18#define OPCUA_IDENTIFIERS_H
22#include "opcua_identifiers.h"
25#define MAX_ARRAY_LEN 10000
28extern int hf_opcua_ArraySize;
35extern int hf_opcua_returnDiag;
38extern int hf_opcua_returnDiag_mask_sl_symbolicId;
41extern int hf_opcua_returnDiag_mask_sl_localizedText;
44extern int hf_opcua_returnDiag_mask_sl_additionalinfo;
47extern int hf_opcua_returnDiag_mask_sl_innerstatuscode;
50extern int hf_opcua_returnDiag_mask_sl_innerdiagnostics;
53extern int hf_opcua_returnDiag_mask_ol_symbolicId;
56extern int hf_opcua_returnDiag_mask_ol_localizedText;
59extern int hf_opcua_returnDiag_mask_ol_additionalinfo;
62extern int hf_opcua_returnDiag_mask_ol_innerstatuscode;
65extern int hf_opcua_returnDiag_mask_ol_innerdiagnostics;
68extern int hf_opcua_nodeClassMask;
71extern int hf_opcua_nodeClassMask_all;
74extern int hf_opcua_nodeClassMask_object;
77extern int hf_opcua_nodeClassMask_variable;
80extern int hf_opcua_nodeClassMask_method;
83extern int hf_opcua_nodeClassMask_objecttype;
86extern int hf_opcua_nodeClassMask_variabletype;
89extern int hf_opcua_nodeClassMask_referencetype;
92extern int hf_opcua_nodeClassMask_datatype;
95extern int hf_opcua_nodeClassMask_view;
98extern int hf_opcua_resultMask;
101extern int hf_opcua_resultMask_all;
104extern int hf_opcua_resultMask_referencetype;
107extern int hf_opcua_resultMask_isforward;
110extern int hf_opcua_resultMask_nodeclass;
113extern int hf_opcua_resultMask_browsename;
116extern int hf_opcua_resultMask_displayname;
119extern int hf_opcua_resultMask_typedefinition;
123extern int ett_opcua_nodeid;
126extern int ett_opcua_extensionobject;
129extern int ett_opcua_array_Boolean;
132extern int ett_opcua_array_SByte;
135extern int ett_opcua_array_Byte;
138extern int ett_opcua_array_Int16;
141extern int ett_opcua_array_UInt16;
144extern int ett_opcua_array_Int32;
147extern int ett_opcua_array_UInt32;
150extern int ett_opcua_array_Int64;
153extern int ett_opcua_array_UInt64;
156extern int ett_opcua_array_Float;
159extern int ett_opcua_array_Double;
162extern int ett_opcua_array_String;
165extern int ett_opcua_array_DateTime;
168extern int ett_opcua_array_Guid;
171extern int ett_opcua_array_ByteString;
174extern int ett_opcua_array_XmlElement;
177extern int ett_opcua_array_NodeId;
180extern int ett_opcua_array_ExpandedNodeId;
183extern int ett_opcua_array_StatusCode;
186extern int ett_opcua_array_DiagnosticInfo;
189extern int ett_opcua_array_QualifiedName;
192extern int ett_opcua_array_LocalizedText;
195extern int ett_opcua_array_ExtensionObject;
198extern int ett_opcua_array_DataValue;
201extern int ett_opcua_array_Variant;
204extern int ett_opcua_returnDiagnostics;
207extern int ett_opcua_nodeClassMask;
210extern int ett_opcua_resultMask;
216enum ua_message_mode {
217 UA_MessageMode_Unknown = 0,
220 UA_MessageMode_SignAndEncrypt,
221 UA_MessageMode_MaybeEncrypted
236proto_item* parseBoolean(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
248proto_item* parseByte(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
260proto_item* parseSByte(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
272proto_item* parseUInt16(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
284proto_item* parseInt16(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
296proto_item* parseUInt32(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
308proto_item* parseInt32(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
320proto_item* parseUInt64(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
332proto_item* parseInt64(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
344proto_item* parseString(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
358proto_item* parseString_ret_string_and_length(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo _U_,
int *pOffset,
int hfIndex,
const uint8_t **retval,
int *lenretval);
370proto_item* parseGuid(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
382proto_item* parseByteString(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
394proto_item* parseXmlElement(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
406proto_item* parseFloat(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
418proto_item* parseDouble(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
430proto_item* parseDateTime(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
442proto_item* parseStatusCode(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
454void parseLocalizedText(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
464void parseNodeId(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
475void parseDiagnosticInfo(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
486void parseExtensionObject(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
497void parseQualifiedName(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
508void parseCertificate(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
519void parseDataValue(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
530void parseVariant(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
541void parseExpandedNodeId(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
556void parseArraySimple(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName,
const char *szTypeName,
int hfIndex, fctSimpleTypeParser pParserFunction,
const int idx);
570void parseArrayEnum(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName,
const char *szTypeName, fctEnumParser pParserFunction,
const int idx);
584void parseArrayComplex(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName,
const char *szTypeName, fctComplexTypeParser pParserFunction,
const int idx);
591void registerSimpleTypes(
int proto);
624void parseNodeClassMask(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset);
634void parseResultMask(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset);
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
proto_node proto_item
Definition proto.h:927
Type ID (NodeId) of an ExtensionObject.
Definition opcua_simpletypes.h:599
uint32_t numeric
Definition opcua_simpletypes.h:602
const char * string
Definition opcua_simpletypes.h:603
bool isNumeric
Definition opcua_simpletypes.h:601
uint16_t ns
Definition opcua_simpletypes.h:600
Pairs an expert info index with its associated header field index for registration and display.
Definition expert.h:41