17#ifndef OPCUA_IDENTIFIERS_H
18#define OPCUA_IDENTIFIERS_H
20#include "opcua_identifiers.h"
24extern int hf_opcua_returnDiag;
27extern int hf_opcua_returnDiag_mask_sl_symbolicId;
30extern int hf_opcua_returnDiag_mask_sl_localizedText;
33extern int hf_opcua_returnDiag_mask_sl_additionalinfo;
36extern int hf_opcua_returnDiag_mask_sl_innerstatuscode;
39extern int hf_opcua_returnDiag_mask_sl_innerdiagnostics;
42extern int hf_opcua_returnDiag_mask_ol_symbolicId;
45extern int hf_opcua_returnDiag_mask_ol_localizedText;
48extern int hf_opcua_returnDiag_mask_ol_additionalinfo;
51extern int hf_opcua_returnDiag_mask_ol_innerstatuscode;
54extern int hf_opcua_returnDiag_mask_ol_innerdiagnostics;
57extern int hf_opcua_nodeClassMask;
60extern int hf_opcua_nodeClassMask_all;
63extern int hf_opcua_nodeClassMask_object;
66extern int hf_opcua_nodeClassMask_variable;
69extern int hf_opcua_nodeClassMask_method;
72extern int hf_opcua_nodeClassMask_objecttype;
75extern int hf_opcua_nodeClassMask_variabletype;
78extern int hf_opcua_nodeClassMask_referencetype;
81extern int hf_opcua_nodeClassMask_datatype;
84extern int hf_opcua_nodeClassMask_view;
87extern int hf_opcua_resultMask;
90extern int hf_opcua_resultMask_all;
93extern int hf_opcua_resultMask_referencetype;
96extern int hf_opcua_resultMask_isforward;
99extern int hf_opcua_resultMask_nodeclass;
102extern int hf_opcua_resultMask_browsename;
105extern int hf_opcua_resultMask_displayname;
108extern int hf_opcua_resultMask_typedefinition;
112extern int ett_opcua_nodeid;
115extern int ett_opcua_extensionobject;
118extern int ett_opcua_array_Boolean;
121extern int ett_opcua_array_SByte;
124extern int ett_opcua_array_Byte;
127extern int ett_opcua_array_Int16;
130extern int ett_opcua_array_UInt16;
133extern int ett_opcua_array_Int32;
136extern int ett_opcua_array_UInt32;
139extern int ett_opcua_array_Int64;
142extern int ett_opcua_array_UInt64;
145extern int ett_opcua_array_Float;
148extern int ett_opcua_array_Double;
151extern int ett_opcua_array_String;
154extern int ett_opcua_array_DateTime;
157extern int ett_opcua_array_Guid;
160extern int ett_opcua_array_ByteString;
163extern int ett_opcua_array_XmlElement;
166extern int ett_opcua_array_NodeId;
169extern int ett_opcua_array_ExpandedNodeId;
172extern int ett_opcua_array_StatusCode;
175extern int ett_opcua_array_DiagnosticInfo;
178extern int ett_opcua_array_QualifiedName;
181extern int ett_opcua_array_LocalizedText;
184extern int ett_opcua_array_ExtensionObject;
187extern int ett_opcua_array_DataValue;
190extern int ett_opcua_array_Variant;
193extern int ett_opcua_returnDiagnostics;
196extern int ett_opcua_nodeClassMask;
199extern int ett_opcua_resultMask;
205enum ua_message_mode {
206 UA_MessageMode_Unknown = 0,
209 UA_MessageMode_SignAndEncrypt,
210 UA_MessageMode_MaybeEncrypted
225proto_item* parseBoolean(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
237proto_item* parseByte(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
249proto_item* parseSByte(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
261proto_item* parseUInt16(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
273proto_item* parseInt16(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
285proto_item* parseUInt32(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
297proto_item* parseInt32(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
309proto_item* parseUInt64(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
321proto_item* parseInt64(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
333proto_item* parseString(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
347proto_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);
359proto_item* parseGuid(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
371proto_item* parseByteString(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
383proto_item* parseXmlElement(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
395proto_item* parseFloat(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
407proto_item* parseDouble(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
419proto_item* parseDateTime(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
431proto_item* parseStatusCode(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
443void parseLocalizedText(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
453void parseNodeId(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
464void parseDiagnosticInfo(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
475void parseExtensionObject(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
486void parseQualifiedName(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
497void parseCertificate(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int hfIndex);
508void parseDataValue(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
519void parseVariant(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
530void parseExpandedNodeId(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName);
545void 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);
559void parseArrayEnum(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName,
const char *szTypeName, fctEnumParser pParserFunction,
const int idx);
573void parseArrayComplex(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
const char *szFieldName,
const char *szTypeName, fctComplexTypeParser pParserFunction,
const int idx);
580void registerSimpleTypes(
int proto);
589uint32_t getExtensionObjectType(tvbuff_t *tvb,
int *pOffset);
599void parseNodeClassMask(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset);
609void parseResultMask(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset);
621void dispatchExtensionObjectType(proto_tree *tree, tvbuff_t *tvb,
packet_info *pinfo,
int *pOffset,
int TypeId);
struct _packet_info packet_info
Represents the metadata and indexing information for a single captured frame.
proto_node proto_item
Definition proto.h:927