1 /******************************************************************************
2 ** Copyright (C) 2006-2015 ascolab GmbH. All Rights Reserved.
3 ** Web: http://www.ascolab.com
5 ** SPDX-License-Identifier: GPL-2.0-or-later
7 ** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
8 ** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
10 ** Project: OpcUa Wireshark Plugin
12 ** Description: Service table and service dispatcher.
14 ** This file was autogenerated on 13.10.2015.
15 ** DON'T MODIFY THIS FILE!
17 ******************************************************************************/
21 #include <epan/packet.h>
22 #include "opcua_identifiers.h"
23 #include "opcua_serviceparser.h"
24 #include "opcua_serviceids.h"
25 #include "opcua_servicetable.h"
27 ParserEntry g_arParserTable
[] = {
28 { OpcUaId_ServiceFault_Encoding_DefaultBinary
, parseServiceFault
},
29 { OpcUaId_FindServersRequest_Encoding_DefaultBinary
, parseFindServersRequest
},
30 { OpcUaId_FindServersResponse_Encoding_DefaultBinary
, parseFindServersResponse
},
31 { OpcUaId_FindServersOnNetworkRequest_Encoding_DefaultBinary
, parseFindServersOnNetworkRequest
},
32 { OpcUaId_FindServersOnNetworkResponse_Encoding_DefaultBinary
, parseFindServersOnNetworkResponse
},
33 { OpcUaId_GetEndpointsRequest_Encoding_DefaultBinary
, parseGetEndpointsRequest
},
34 { OpcUaId_GetEndpointsResponse_Encoding_DefaultBinary
, parseGetEndpointsResponse
},
35 { OpcUaId_RegisterServerRequest_Encoding_DefaultBinary
, parseRegisterServerRequest
},
36 { OpcUaId_RegisterServerResponse_Encoding_DefaultBinary
, parseRegisterServerResponse
},
37 { OpcUaId_RegisterServer2Request_Encoding_DefaultBinary
, parseRegisterServer2Request
},
38 { OpcUaId_RegisterServer2Response_Encoding_DefaultBinary
, parseRegisterServer2Response
},
39 { OpcUaId_OpenSecureChannelRequest_Encoding_DefaultBinary
, parseOpenSecureChannelRequest
},
40 { OpcUaId_OpenSecureChannelResponse_Encoding_DefaultBinary
, parseOpenSecureChannelResponse
},
41 { OpcUaId_CloseSecureChannelRequest_Encoding_DefaultBinary
, parseCloseSecureChannelRequest
},
42 { OpcUaId_CloseSecureChannelResponse_Encoding_DefaultBinary
, parseCloseSecureChannelResponse
},
43 { OpcUaId_CreateSessionRequest_Encoding_DefaultBinary
, parseCreateSessionRequest
},
44 { OpcUaId_CreateSessionResponse_Encoding_DefaultBinary
, parseCreateSessionResponse
},
45 { OpcUaId_ActivateSessionRequest_Encoding_DefaultBinary
, parseActivateSessionRequest
},
46 { OpcUaId_ActivateSessionResponse_Encoding_DefaultBinary
, parseActivateSessionResponse
},
47 { OpcUaId_CloseSessionRequest_Encoding_DefaultBinary
, parseCloseSessionRequest
},
48 { OpcUaId_CloseSessionResponse_Encoding_DefaultBinary
, parseCloseSessionResponse
},
49 { OpcUaId_CancelRequest_Encoding_DefaultBinary
, parseCancelRequest
},
50 { OpcUaId_CancelResponse_Encoding_DefaultBinary
, parseCancelResponse
},
51 { OpcUaId_AddNodesRequest_Encoding_DefaultBinary
, parseAddNodesRequest
},
52 { OpcUaId_AddNodesResponse_Encoding_DefaultBinary
, parseAddNodesResponse
},
53 { OpcUaId_AddReferencesRequest_Encoding_DefaultBinary
, parseAddReferencesRequest
},
54 { OpcUaId_AddReferencesResponse_Encoding_DefaultBinary
, parseAddReferencesResponse
},
55 { OpcUaId_DeleteNodesRequest_Encoding_DefaultBinary
, parseDeleteNodesRequest
},
56 { OpcUaId_DeleteNodesResponse_Encoding_DefaultBinary
, parseDeleteNodesResponse
},
57 { OpcUaId_DeleteReferencesRequest_Encoding_DefaultBinary
, parseDeleteReferencesRequest
},
58 { OpcUaId_DeleteReferencesResponse_Encoding_DefaultBinary
, parseDeleteReferencesResponse
},
59 { OpcUaId_BrowseRequest_Encoding_DefaultBinary
, parseBrowseRequest
},
60 { OpcUaId_BrowseResponse_Encoding_DefaultBinary
, parseBrowseResponse
},
61 { OpcUaId_BrowseNextRequest_Encoding_DefaultBinary
, parseBrowseNextRequest
},
62 { OpcUaId_BrowseNextResponse_Encoding_DefaultBinary
, parseBrowseNextResponse
},
63 { OpcUaId_TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultBinary
, parseTranslateBrowsePathsToNodeIdsRequest
},
64 { OpcUaId_TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultBinary
, parseTranslateBrowsePathsToNodeIdsResponse
},
65 { OpcUaId_RegisterNodesRequest_Encoding_DefaultBinary
, parseRegisterNodesRequest
},
66 { OpcUaId_RegisterNodesResponse_Encoding_DefaultBinary
, parseRegisterNodesResponse
},
67 { OpcUaId_UnregisterNodesRequest_Encoding_DefaultBinary
, parseUnregisterNodesRequest
},
68 { OpcUaId_UnregisterNodesResponse_Encoding_DefaultBinary
, parseUnregisterNodesResponse
},
69 { OpcUaId_QueryFirstRequest_Encoding_DefaultBinary
, parseQueryFirstRequest
},
70 { OpcUaId_QueryFirstResponse_Encoding_DefaultBinary
, parseQueryFirstResponse
},
71 { OpcUaId_QueryNextRequest_Encoding_DefaultBinary
, parseQueryNextRequest
},
72 { OpcUaId_QueryNextResponse_Encoding_DefaultBinary
, parseQueryNextResponse
},
73 { OpcUaId_ReadRequest_Encoding_DefaultBinary
, parseReadRequest
},
74 { OpcUaId_ReadResponse_Encoding_DefaultBinary
, parseReadResponse
},
75 { OpcUaId_HistoryReadRequest_Encoding_DefaultBinary
, parseHistoryReadRequest
},
76 { OpcUaId_HistoryReadResponse_Encoding_DefaultBinary
, parseHistoryReadResponse
},
77 { OpcUaId_WriteRequest_Encoding_DefaultBinary
, parseWriteRequest
},
78 { OpcUaId_WriteResponse_Encoding_DefaultBinary
, parseWriteResponse
},
79 { OpcUaId_HistoryUpdateRequest_Encoding_DefaultBinary
, parseHistoryUpdateRequest
},
80 { OpcUaId_HistoryUpdateResponse_Encoding_DefaultBinary
, parseHistoryUpdateResponse
},
81 { OpcUaId_CallRequest_Encoding_DefaultBinary
, parseCallRequest
},
82 { OpcUaId_CallResponse_Encoding_DefaultBinary
, parseCallResponse
},
83 { OpcUaId_CreateMonitoredItemsRequest_Encoding_DefaultBinary
, parseCreateMonitoredItemsRequest
},
84 { OpcUaId_CreateMonitoredItemsResponse_Encoding_DefaultBinary
, parseCreateMonitoredItemsResponse
},
85 { OpcUaId_ModifyMonitoredItemsRequest_Encoding_DefaultBinary
, parseModifyMonitoredItemsRequest
},
86 { OpcUaId_ModifyMonitoredItemsResponse_Encoding_DefaultBinary
, parseModifyMonitoredItemsResponse
},
87 { OpcUaId_SetMonitoringModeRequest_Encoding_DefaultBinary
, parseSetMonitoringModeRequest
},
88 { OpcUaId_SetMonitoringModeResponse_Encoding_DefaultBinary
, parseSetMonitoringModeResponse
},
89 { OpcUaId_SetTriggeringRequest_Encoding_DefaultBinary
, parseSetTriggeringRequest
},
90 { OpcUaId_SetTriggeringResponse_Encoding_DefaultBinary
, parseSetTriggeringResponse
},
91 { OpcUaId_DeleteMonitoredItemsRequest_Encoding_DefaultBinary
, parseDeleteMonitoredItemsRequest
},
92 { OpcUaId_DeleteMonitoredItemsResponse_Encoding_DefaultBinary
, parseDeleteMonitoredItemsResponse
},
93 { OpcUaId_CreateSubscriptionRequest_Encoding_DefaultBinary
, parseCreateSubscriptionRequest
},
94 { OpcUaId_CreateSubscriptionResponse_Encoding_DefaultBinary
, parseCreateSubscriptionResponse
},
95 { OpcUaId_ModifySubscriptionRequest_Encoding_DefaultBinary
, parseModifySubscriptionRequest
},
96 { OpcUaId_ModifySubscriptionResponse_Encoding_DefaultBinary
, parseModifySubscriptionResponse
},
97 { OpcUaId_SetPublishingModeRequest_Encoding_DefaultBinary
, parseSetPublishingModeRequest
},
98 { OpcUaId_SetPublishingModeResponse_Encoding_DefaultBinary
, parseSetPublishingModeResponse
},
99 { OpcUaId_PublishRequest_Encoding_DefaultBinary
, parsePublishRequest
},
100 { OpcUaId_PublishResponse_Encoding_DefaultBinary
, parsePublishResponse
},
101 { OpcUaId_RepublishRequest_Encoding_DefaultBinary
, parseRepublishRequest
},
102 { OpcUaId_RepublishResponse_Encoding_DefaultBinary
, parseRepublishResponse
},
103 { OpcUaId_TransferSubscriptionsRequest_Encoding_DefaultBinary
, parseTransferSubscriptionsRequest
},
104 { OpcUaId_TransferSubscriptionsResponse_Encoding_DefaultBinary
, parseTransferSubscriptionsResponse
},
105 { OpcUaId_DeleteSubscriptionsRequest_Encoding_DefaultBinary
, parseDeleteSubscriptionsRequest
},
106 { OpcUaId_DeleteSubscriptionsResponse_Encoding_DefaultBinary
, parseDeleteSubscriptionsResponse
},
107 { OpcUaId_TestStackRequest_Encoding_DefaultBinary
, parseTestStackRequest
},
108 { OpcUaId_TestStackResponse_Encoding_DefaultBinary
, parseTestStackResponse
},
109 { OpcUaId_TestStackExRequest_Encoding_DefaultBinary
, parseTestStackExRequest
},
110 { OpcUaId_TestStackExResponse_Encoding_DefaultBinary
, parseTestStackExResponse
},
113 /** Service type table */
114 const value_string g_requesttypes
[] = {
115 { OpcUaId_ServiceFault_Encoding_DefaultBinary
, "ServiceFault" },
116 { OpcUaId_FindServersRequest_Encoding_DefaultBinary
, "FindServersRequest" },
117 { OpcUaId_FindServersResponse_Encoding_DefaultBinary
, "FindServersResponse" },
118 { OpcUaId_FindServersOnNetworkRequest_Encoding_DefaultBinary
, "FindServersOnNetworkRequest" },
119 { OpcUaId_FindServersOnNetworkResponse_Encoding_DefaultBinary
, "FindServersOnNetworkResponse" },
120 { OpcUaId_GetEndpointsRequest_Encoding_DefaultBinary
, "GetEndpointsRequest" },
121 { OpcUaId_GetEndpointsResponse_Encoding_DefaultBinary
, "GetEndpointsResponse" },
122 { OpcUaId_RegisterServerRequest_Encoding_DefaultBinary
, "RegisterServerRequest" },
123 { OpcUaId_RegisterServerResponse_Encoding_DefaultBinary
, "RegisterServerResponse" },
124 { OpcUaId_RegisterServer2Request_Encoding_DefaultBinary
, "RegisterServer2Request" },
125 { OpcUaId_RegisterServer2Response_Encoding_DefaultBinary
, "RegisterServer2Response" },
126 { OpcUaId_OpenSecureChannelRequest_Encoding_DefaultBinary
, "OpenSecureChannelRequest" },
127 { OpcUaId_OpenSecureChannelResponse_Encoding_DefaultBinary
, "OpenSecureChannelResponse" },
128 { OpcUaId_CloseSecureChannelRequest_Encoding_DefaultBinary
, "CloseSecureChannelRequest" },
129 { OpcUaId_CloseSecureChannelResponse_Encoding_DefaultBinary
, "CloseSecureChannelResponse" },
130 { OpcUaId_CreateSessionRequest_Encoding_DefaultBinary
, "CreateSessionRequest" },
131 { OpcUaId_CreateSessionResponse_Encoding_DefaultBinary
, "CreateSessionResponse" },
132 { OpcUaId_ActivateSessionRequest_Encoding_DefaultBinary
, "ActivateSessionRequest" },
133 { OpcUaId_ActivateSessionResponse_Encoding_DefaultBinary
, "ActivateSessionResponse" },
134 { OpcUaId_CloseSessionRequest_Encoding_DefaultBinary
, "CloseSessionRequest" },
135 { OpcUaId_CloseSessionResponse_Encoding_DefaultBinary
, "CloseSessionResponse" },
136 { OpcUaId_CancelRequest_Encoding_DefaultBinary
, "CancelRequest" },
137 { OpcUaId_CancelResponse_Encoding_DefaultBinary
, "CancelResponse" },
138 { OpcUaId_AddNodesRequest_Encoding_DefaultBinary
, "AddNodesRequest" },
139 { OpcUaId_AddNodesResponse_Encoding_DefaultBinary
, "AddNodesResponse" },
140 { OpcUaId_AddReferencesRequest_Encoding_DefaultBinary
, "AddReferencesRequest" },
141 { OpcUaId_AddReferencesResponse_Encoding_DefaultBinary
, "AddReferencesResponse" },
142 { OpcUaId_DeleteNodesRequest_Encoding_DefaultBinary
, "DeleteNodesRequest" },
143 { OpcUaId_DeleteNodesResponse_Encoding_DefaultBinary
, "DeleteNodesResponse" },
144 { OpcUaId_DeleteReferencesRequest_Encoding_DefaultBinary
, "DeleteReferencesRequest" },
145 { OpcUaId_DeleteReferencesResponse_Encoding_DefaultBinary
, "DeleteReferencesResponse" },
146 { OpcUaId_BrowseRequest_Encoding_DefaultBinary
, "BrowseRequest" },
147 { OpcUaId_BrowseResponse_Encoding_DefaultBinary
, "BrowseResponse" },
148 { OpcUaId_BrowseNextRequest_Encoding_DefaultBinary
, "BrowseNextRequest" },
149 { OpcUaId_BrowseNextResponse_Encoding_DefaultBinary
, "BrowseNextResponse" },
150 { OpcUaId_TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultBinary
, "TranslateBrowsePathsToNodeIdsRequest" },
151 { OpcUaId_TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultBinary
, "TranslateBrowsePathsToNodeIdsResponse" },
152 { OpcUaId_RegisterNodesRequest_Encoding_DefaultBinary
, "RegisterNodesRequest" },
153 { OpcUaId_RegisterNodesResponse_Encoding_DefaultBinary
, "RegisterNodesResponse" },
154 { OpcUaId_UnregisterNodesRequest_Encoding_DefaultBinary
, "UnregisterNodesRequest" },
155 { OpcUaId_UnregisterNodesResponse_Encoding_DefaultBinary
, "UnregisterNodesResponse" },
156 { OpcUaId_QueryFirstRequest_Encoding_DefaultBinary
, "QueryFirstRequest" },
157 { OpcUaId_QueryFirstResponse_Encoding_DefaultBinary
, "QueryFirstResponse" },
158 { OpcUaId_QueryNextRequest_Encoding_DefaultBinary
, "QueryNextRequest" },
159 { OpcUaId_QueryNextResponse_Encoding_DefaultBinary
, "QueryNextResponse" },
160 { OpcUaId_ReadRequest_Encoding_DefaultBinary
, "ReadRequest" },
161 { OpcUaId_ReadResponse_Encoding_DefaultBinary
, "ReadResponse" },
162 { OpcUaId_HistoryReadRequest_Encoding_DefaultBinary
, "HistoryReadRequest" },
163 { OpcUaId_HistoryReadResponse_Encoding_DefaultBinary
, "HistoryReadResponse" },
164 { OpcUaId_WriteRequest_Encoding_DefaultBinary
, "WriteRequest" },
165 { OpcUaId_WriteResponse_Encoding_DefaultBinary
, "WriteResponse" },
166 { OpcUaId_HistoryUpdateRequest_Encoding_DefaultBinary
, "HistoryUpdateRequest" },
167 { OpcUaId_HistoryUpdateResponse_Encoding_DefaultBinary
, "HistoryUpdateResponse" },
168 { OpcUaId_CallRequest_Encoding_DefaultBinary
, "CallRequest" },
169 { OpcUaId_CallResponse_Encoding_DefaultBinary
, "CallResponse" },
170 { OpcUaId_CreateMonitoredItemsRequest_Encoding_DefaultBinary
, "CreateMonitoredItemsRequest" },
171 { OpcUaId_CreateMonitoredItemsResponse_Encoding_DefaultBinary
, "CreateMonitoredItemsResponse" },
172 { OpcUaId_ModifyMonitoredItemsRequest_Encoding_DefaultBinary
, "ModifyMonitoredItemsRequest" },
173 { OpcUaId_ModifyMonitoredItemsResponse_Encoding_DefaultBinary
, "ModifyMonitoredItemsResponse" },
174 { OpcUaId_SetMonitoringModeRequest_Encoding_DefaultBinary
, "SetMonitoringModeRequest" },
175 { OpcUaId_SetMonitoringModeResponse_Encoding_DefaultBinary
, "SetMonitoringModeResponse" },
176 { OpcUaId_SetTriggeringRequest_Encoding_DefaultBinary
, "SetTriggeringRequest" },
177 { OpcUaId_SetTriggeringResponse_Encoding_DefaultBinary
, "SetTriggeringResponse" },
178 { OpcUaId_DeleteMonitoredItemsRequest_Encoding_DefaultBinary
, "DeleteMonitoredItemsRequest" },
179 { OpcUaId_DeleteMonitoredItemsResponse_Encoding_DefaultBinary
, "DeleteMonitoredItemsResponse" },
180 { OpcUaId_CreateSubscriptionRequest_Encoding_DefaultBinary
, "CreateSubscriptionRequest" },
181 { OpcUaId_CreateSubscriptionResponse_Encoding_DefaultBinary
, "CreateSubscriptionResponse" },
182 { OpcUaId_ModifySubscriptionRequest_Encoding_DefaultBinary
, "ModifySubscriptionRequest" },
183 { OpcUaId_ModifySubscriptionResponse_Encoding_DefaultBinary
, "ModifySubscriptionResponse" },
184 { OpcUaId_SetPublishingModeRequest_Encoding_DefaultBinary
, "SetPublishingModeRequest" },
185 { OpcUaId_SetPublishingModeResponse_Encoding_DefaultBinary
, "SetPublishingModeResponse" },
186 { OpcUaId_PublishRequest_Encoding_DefaultBinary
, "PublishRequest" },
187 { OpcUaId_PublishResponse_Encoding_DefaultBinary
, "PublishResponse" },
188 { OpcUaId_RepublishRequest_Encoding_DefaultBinary
, "RepublishRequest" },
189 { OpcUaId_RepublishResponse_Encoding_DefaultBinary
, "RepublishResponse" },
190 { OpcUaId_TransferSubscriptionsRequest_Encoding_DefaultBinary
, "TransferSubscriptionsRequest" },
191 { OpcUaId_TransferSubscriptionsResponse_Encoding_DefaultBinary
, "TransferSubscriptionsResponse" },
192 { OpcUaId_DeleteSubscriptionsRequest_Encoding_DefaultBinary
, "DeleteSubscriptionsRequest" },
193 { OpcUaId_DeleteSubscriptionsResponse_Encoding_DefaultBinary
, "DeleteSubscriptionsResponse" },
194 { OpcUaId_TestStackRequest_Encoding_DefaultBinary
, "TestStackRequest" },
195 { OpcUaId_TestStackResponse_Encoding_DefaultBinary
, "TestStackResponse" },
196 { OpcUaId_TestStackExRequest_Encoding_DefaultBinary
, "TestStackExRequest" },
197 { OpcUaId_TestStackExResponse_Encoding_DefaultBinary
, "TestStackExResponse" },
198 { OpcUaId_ServiceFault_Encoding_DefaultXml
, "ServiceFault (XML Encoding)" },
199 { OpcUaId_FindServersRequest_Encoding_DefaultXml
, "FindServersRequest (XML Encoding)" },
200 { OpcUaId_FindServersResponse_Encoding_DefaultXml
, "FindServersResponse (XML Encoding)" },
201 { OpcUaId_FindServersOnNetworkRequest_Encoding_DefaultXml
, "FindServersOnNetworkRequest (XML Encoding)" },
202 { OpcUaId_FindServersOnNetworkResponse_Encoding_DefaultXml
, "FindServersOnNetworkResponse (XML Encoding)" },
203 { OpcUaId_GetEndpointsRequest_Encoding_DefaultXml
, "GetEndpointsRequest (XML Encoding)" },
204 { OpcUaId_GetEndpointsResponse_Encoding_DefaultXml
, "GetEndpointsResponse (XML Encoding)" },
205 { OpcUaId_RegisterServerRequest_Encoding_DefaultXml
, "RegisterServerRequest (XML Encoding)" },
206 { OpcUaId_RegisterServerResponse_Encoding_DefaultXml
, "RegisterServerResponse (XML Encoding)" },
207 { OpcUaId_RegisterServer2Request_Encoding_DefaultXml
, "RegisterServer2Request (XML Encoding)" },
208 { OpcUaId_RegisterServer2Response_Encoding_DefaultXml
, "RegisterServer2Response (XML Encoding)" },
209 { OpcUaId_OpenSecureChannelRequest_Encoding_DefaultXml
, "OpenSecureChannelRequest (XML Encoding)" },
210 { OpcUaId_OpenSecureChannelResponse_Encoding_DefaultXml
, "OpenSecureChannelResponse (XML Encoding)" },
211 { OpcUaId_CloseSecureChannelRequest_Encoding_DefaultXml
, "CloseSecureChannelRequest (XML Encoding)" },
212 { OpcUaId_CloseSecureChannelResponse_Encoding_DefaultXml
, "CloseSecureChannelResponse (XML Encoding)" },
213 { OpcUaId_CreateSessionRequest_Encoding_DefaultXml
, "CreateSessionRequest (XML Encoding)" },
214 { OpcUaId_CreateSessionResponse_Encoding_DefaultXml
, "CreateSessionResponse (XML Encoding)" },
215 { OpcUaId_ActivateSessionRequest_Encoding_DefaultXml
, "ActivateSessionRequest (XML Encoding)" },
216 { OpcUaId_ActivateSessionResponse_Encoding_DefaultXml
, "ActivateSessionResponse (XML Encoding)" },
217 { OpcUaId_CloseSessionRequest_Encoding_DefaultXml
, "CloseSessionRequest (XML Encoding)" },
218 { OpcUaId_CloseSessionResponse_Encoding_DefaultXml
, "CloseSessionResponse (XML Encoding)" },
219 { OpcUaId_CancelRequest_Encoding_DefaultXml
, "CancelRequest (XML Encoding)" },
220 { OpcUaId_CancelResponse_Encoding_DefaultXml
, "CancelResponse (XML Encoding)" },
221 { OpcUaId_AddNodesRequest_Encoding_DefaultXml
, "AddNodesRequest (XML Encoding)" },
222 { OpcUaId_AddNodesResponse_Encoding_DefaultXml
, "AddNodesResponse (XML Encoding)" },
223 { OpcUaId_AddReferencesRequest_Encoding_DefaultXml
, "AddReferencesRequest (XML Encoding)" },
224 { OpcUaId_AddReferencesResponse_Encoding_DefaultXml
, "AddReferencesResponse (XML Encoding)" },
225 { OpcUaId_DeleteNodesRequest_Encoding_DefaultXml
, "DeleteNodesRequest (XML Encoding)" },
226 { OpcUaId_DeleteNodesResponse_Encoding_DefaultXml
, "DeleteNodesResponse (XML Encoding)" },
227 { OpcUaId_DeleteReferencesRequest_Encoding_DefaultXml
, "DeleteReferencesRequest (XML Encoding)" },
228 { OpcUaId_DeleteReferencesResponse_Encoding_DefaultXml
, "DeleteReferencesResponse (XML Encoding)" },
229 { OpcUaId_BrowseRequest_Encoding_DefaultXml
, "BrowseRequest (XML Encoding)" },
230 { OpcUaId_BrowseResponse_Encoding_DefaultXml
, "BrowseResponse (XML Encoding)" },
231 { OpcUaId_BrowseNextRequest_Encoding_DefaultXml
, "BrowseNextRequest (XML Encoding)" },
232 { OpcUaId_BrowseNextResponse_Encoding_DefaultXml
, "BrowseNextResponse (XML Encoding)" },
233 { OpcUaId_TranslateBrowsePathsToNodeIdsRequest_Encoding_DefaultXml
, "TranslateBrowsePathsToNodeIdsRequest (XML Encoding)" },
234 { OpcUaId_TranslateBrowsePathsToNodeIdsResponse_Encoding_DefaultXml
, "TranslateBrowsePathsToNodeIdsResponse (XML Encoding)" },
235 { OpcUaId_RegisterNodesRequest_Encoding_DefaultXml
, "RegisterNodesRequest (XML Encoding)" },
236 { OpcUaId_RegisterNodesResponse_Encoding_DefaultXml
, "RegisterNodesResponse (XML Encoding)" },
237 { OpcUaId_UnregisterNodesRequest_Encoding_DefaultXml
, "UnregisterNodesRequest (XML Encoding)" },
238 { OpcUaId_UnregisterNodesResponse_Encoding_DefaultXml
, "UnregisterNodesResponse (XML Encoding)" },
239 { OpcUaId_QueryFirstRequest_Encoding_DefaultXml
, "QueryFirstRequest (XML Encoding)" },
240 { OpcUaId_QueryFirstResponse_Encoding_DefaultXml
, "QueryFirstResponse (XML Encoding)" },
241 { OpcUaId_QueryNextRequest_Encoding_DefaultXml
, "QueryNextRequest (XML Encoding)" },
242 { OpcUaId_QueryNextResponse_Encoding_DefaultXml
, "QueryNextResponse (XML Encoding)" },
243 { OpcUaId_ReadRequest_Encoding_DefaultXml
, "ReadRequest (XML Encoding)" },
244 { OpcUaId_ReadResponse_Encoding_DefaultXml
, "ReadResponse (XML Encoding)" },
245 { OpcUaId_HistoryReadRequest_Encoding_DefaultXml
, "HistoryReadRequest (XML Encoding)" },
246 { OpcUaId_HistoryReadResponse_Encoding_DefaultXml
, "HistoryReadResponse (XML Encoding)" },
247 { OpcUaId_WriteRequest_Encoding_DefaultXml
, "WriteRequest (XML Encoding)" },
248 { OpcUaId_WriteResponse_Encoding_DefaultXml
, "WriteResponse (XML Encoding)" },
249 { OpcUaId_HistoryUpdateRequest_Encoding_DefaultXml
, "HistoryUpdateRequest (XML Encoding)" },
250 { OpcUaId_HistoryUpdateResponse_Encoding_DefaultXml
, "HistoryUpdateResponse (XML Encoding)" },
251 { OpcUaId_CallRequest_Encoding_DefaultXml
, "CallRequest (XML Encoding)" },
252 { OpcUaId_CallResponse_Encoding_DefaultXml
, "CallResponse (XML Encoding)" },
253 { OpcUaId_CreateMonitoredItemsRequest_Encoding_DefaultXml
, "CreateMonitoredItemsRequest (XML Encoding)" },
254 { OpcUaId_CreateMonitoredItemsResponse_Encoding_DefaultXml
, "CreateMonitoredItemsResponse (XML Encoding)" },
255 { OpcUaId_ModifyMonitoredItemsRequest_Encoding_DefaultXml
, "ModifyMonitoredItemsRequest (XML Encoding)" },
256 { OpcUaId_ModifyMonitoredItemsResponse_Encoding_DefaultXml
, "ModifyMonitoredItemsResponse (XML Encoding)" },
257 { OpcUaId_SetMonitoringModeRequest_Encoding_DefaultXml
, "SetMonitoringModeRequest (XML Encoding)" },
258 { OpcUaId_SetMonitoringModeResponse_Encoding_DefaultXml
, "SetMonitoringModeResponse (XML Encoding)" },
259 { OpcUaId_SetTriggeringRequest_Encoding_DefaultXml
, "SetTriggeringRequest (XML Encoding)" },
260 { OpcUaId_SetTriggeringResponse_Encoding_DefaultXml
, "SetTriggeringResponse (XML Encoding)" },
261 { OpcUaId_DeleteMonitoredItemsRequest_Encoding_DefaultXml
, "DeleteMonitoredItemsRequest (XML Encoding)" },
262 { OpcUaId_DeleteMonitoredItemsResponse_Encoding_DefaultXml
, "DeleteMonitoredItemsResponse (XML Encoding)" },
263 { OpcUaId_CreateSubscriptionRequest_Encoding_DefaultXml
, "CreateSubscriptionRequest (XML Encoding)" },
264 { OpcUaId_CreateSubscriptionResponse_Encoding_DefaultXml
, "CreateSubscriptionResponse (XML Encoding)" },
265 { OpcUaId_ModifySubscriptionRequest_Encoding_DefaultXml
, "ModifySubscriptionRequest (XML Encoding)" },
266 { OpcUaId_ModifySubscriptionResponse_Encoding_DefaultXml
, "ModifySubscriptionResponse (XML Encoding)" },
267 { OpcUaId_SetPublishingModeRequest_Encoding_DefaultXml
, "SetPublishingModeRequest (XML Encoding)" },
268 { OpcUaId_SetPublishingModeResponse_Encoding_DefaultXml
, "SetPublishingModeResponse (XML Encoding)" },
269 { OpcUaId_PublishRequest_Encoding_DefaultXml
, "PublishRequest (XML Encoding)" },
270 { OpcUaId_PublishResponse_Encoding_DefaultXml
, "PublishResponse (XML Encoding)" },
271 { OpcUaId_RepublishRequest_Encoding_DefaultXml
, "RepublishRequest (XML Encoding)" },
272 { OpcUaId_RepublishResponse_Encoding_DefaultXml
, "RepublishResponse (XML Encoding)" },
273 { OpcUaId_TransferSubscriptionsRequest_Encoding_DefaultXml
, "TransferSubscriptionsRequest (XML Encoding)" },
274 { OpcUaId_TransferSubscriptionsResponse_Encoding_DefaultXml
, "TransferSubscriptionsResponse (XML Encoding)" },
275 { OpcUaId_DeleteSubscriptionsRequest_Encoding_DefaultXml
, "DeleteSubscriptionsRequest (XML Encoding)" },
276 { OpcUaId_DeleteSubscriptionsResponse_Encoding_DefaultXml
, "DeleteSubscriptionsResponse (XML Encoding)" },
277 { OpcUaId_TestStackRequest_Encoding_DefaultXml
, "TestStackRequest (XML Encoding)" },
278 { OpcUaId_TestStackResponse_Encoding_DefaultXml
, "TestStackResponse (XML Encoding)" },
279 { OpcUaId_TestStackExRequest_Encoding_DefaultXml
, "TestStackExRequest (XML Encoding)" },
280 { OpcUaId_TestStackExResponse_Encoding_DefaultXml
, "TestStackExResponse (XML Encoding)" },
284 /** Dispatch all services to a special parser function. */
285 void dispatchService(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
, int ServiceId
)
289 while (indx
< array_length(g_arParserTable
))
291 if (g_arParserTable
[indx
].iRequestId
== ServiceId
)
293 (*g_arParserTable
[indx
].pParser
)(tree
, tvb
, pinfo
, pOffset
);