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: OpcUa Service Type Parser
14 ** This file was autogenerated on 13.10.2015.
15 ** DON'T MODIFY THIS FILE!
16 ** XXX - well, except that you may have to. See the README.
18 ******************************************************************************/
21 #include <epan/packet.h>
23 extern int ett_opcua_ServiceFault
;
24 extern int ett_opcua_array_ServiceFault
;
25 extern int ett_opcua_FindServersRequest
;
26 extern int ett_opcua_array_FindServersRequest
;
27 extern int ett_opcua_FindServersResponse
;
28 extern int ett_opcua_array_FindServersResponse
;
29 extern int ett_opcua_FindServersOnNetworkRequest
;
30 extern int ett_opcua_array_FindServersOnNetworkRequest
;
31 extern int ett_opcua_FindServersOnNetworkResponse
;
32 extern int ett_opcua_array_FindServersOnNetworkResponse
;
33 extern int ett_opcua_GetEndpointsRequest
;
34 extern int ett_opcua_array_GetEndpointsRequest
;
35 extern int ett_opcua_GetEndpointsResponse
;
36 extern int ett_opcua_array_GetEndpointsResponse
;
37 extern int ett_opcua_RegisterServerRequest
;
38 extern int ett_opcua_array_RegisterServerRequest
;
39 extern int ett_opcua_RegisterServerResponse
;
40 extern int ett_opcua_array_RegisterServerResponse
;
41 extern int ett_opcua_RegisterServer2Request
;
42 extern int ett_opcua_array_RegisterServer2Request
;
43 extern int ett_opcua_RegisterServer2Response
;
44 extern int ett_opcua_array_RegisterServer2Response
;
45 extern int ett_opcua_OpenSecureChannelRequest
;
46 extern int ett_opcua_array_OpenSecureChannelRequest
;
47 extern int ett_opcua_OpenSecureChannelResponse
;
48 extern int ett_opcua_array_OpenSecureChannelResponse
;
49 extern int ett_opcua_CloseSecureChannelRequest
;
50 extern int ett_opcua_array_CloseSecureChannelRequest
;
51 extern int ett_opcua_CloseSecureChannelResponse
;
52 extern int ett_opcua_array_CloseSecureChannelResponse
;
53 extern int ett_opcua_CreateSessionRequest
;
54 extern int ett_opcua_array_CreateSessionRequest
;
55 extern int ett_opcua_CreateSessionResponse
;
56 extern int ett_opcua_array_CreateSessionResponse
;
57 extern int ett_opcua_ActivateSessionRequest
;
58 extern int ett_opcua_array_ActivateSessionRequest
;
59 extern int ett_opcua_ActivateSessionResponse
;
60 extern int ett_opcua_array_ActivateSessionResponse
;
61 extern int ett_opcua_CloseSessionRequest
;
62 extern int ett_opcua_array_CloseSessionRequest
;
63 extern int ett_opcua_CloseSessionResponse
;
64 extern int ett_opcua_array_CloseSessionResponse
;
65 extern int ett_opcua_CancelRequest
;
66 extern int ett_opcua_array_CancelRequest
;
67 extern int ett_opcua_CancelResponse
;
68 extern int ett_opcua_array_CancelResponse
;
69 extern int ett_opcua_AddNodesRequest
;
70 extern int ett_opcua_array_AddNodesRequest
;
71 extern int ett_opcua_AddNodesResponse
;
72 extern int ett_opcua_array_AddNodesResponse
;
73 extern int ett_opcua_AddReferencesRequest
;
74 extern int ett_opcua_array_AddReferencesRequest
;
75 extern int ett_opcua_AddReferencesResponse
;
76 extern int ett_opcua_array_AddReferencesResponse
;
77 extern int ett_opcua_DeleteNodesRequest
;
78 extern int ett_opcua_array_DeleteNodesRequest
;
79 extern int ett_opcua_DeleteNodesResponse
;
80 extern int ett_opcua_array_DeleteNodesResponse
;
81 extern int ett_opcua_DeleteReferencesRequest
;
82 extern int ett_opcua_array_DeleteReferencesRequest
;
83 extern int ett_opcua_DeleteReferencesResponse
;
84 extern int ett_opcua_array_DeleteReferencesResponse
;
85 extern int ett_opcua_BrowseRequest
;
86 extern int ett_opcua_array_BrowseRequest
;
87 extern int ett_opcua_BrowseResponse
;
88 extern int ett_opcua_array_BrowseResponse
;
89 extern int ett_opcua_BrowseNextRequest
;
90 extern int ett_opcua_array_BrowseNextRequest
;
91 extern int ett_opcua_BrowseNextResponse
;
92 extern int ett_opcua_array_BrowseNextResponse
;
93 extern int ett_opcua_TranslateBrowsePathsToNodeIdsRequest
;
94 extern int ett_opcua_array_TranslateBrowsePathsToNodeIdsRequest
;
95 extern int ett_opcua_TranslateBrowsePathsToNodeIdsResponse
;
96 extern int ett_opcua_array_TranslateBrowsePathsToNodeIdsResponse
;
97 extern int ett_opcua_RegisterNodesRequest
;
98 extern int ett_opcua_array_RegisterNodesRequest
;
99 extern int ett_opcua_RegisterNodesResponse
;
100 extern int ett_opcua_array_RegisterNodesResponse
;
101 extern int ett_opcua_UnregisterNodesRequest
;
102 extern int ett_opcua_array_UnregisterNodesRequest
;
103 extern int ett_opcua_UnregisterNodesResponse
;
104 extern int ett_opcua_array_UnregisterNodesResponse
;
105 extern int ett_opcua_QueryFirstRequest
;
106 extern int ett_opcua_array_QueryFirstRequest
;
107 extern int ett_opcua_QueryFirstResponse
;
108 extern int ett_opcua_array_QueryFirstResponse
;
109 extern int ett_opcua_QueryNextRequest
;
110 extern int ett_opcua_array_QueryNextRequest
;
111 extern int ett_opcua_QueryNextResponse
;
112 extern int ett_opcua_array_QueryNextResponse
;
113 extern int ett_opcua_ReadRequest
;
114 extern int ett_opcua_array_ReadRequest
;
115 extern int ett_opcua_ReadResponse
;
116 extern int ett_opcua_array_ReadResponse
;
117 extern int ett_opcua_HistoryReadRequest
;
118 extern int ett_opcua_array_HistoryReadRequest
;
119 extern int ett_opcua_HistoryReadResponse
;
120 extern int ett_opcua_array_HistoryReadResponse
;
121 extern int ett_opcua_WriteRequest
;
122 extern int ett_opcua_array_WriteRequest
;
123 extern int ett_opcua_WriteResponse
;
124 extern int ett_opcua_array_WriteResponse
;
125 extern int ett_opcua_HistoryUpdateRequest
;
126 extern int ett_opcua_array_HistoryUpdateRequest
;
127 extern int ett_opcua_HistoryUpdateResponse
;
128 extern int ett_opcua_array_HistoryUpdateResponse
;
129 extern int ett_opcua_CallRequest
;
130 extern int ett_opcua_array_CallRequest
;
131 extern int ett_opcua_CallResponse
;
132 extern int ett_opcua_array_CallResponse
;
133 extern int ett_opcua_CreateMonitoredItemsRequest
;
134 extern int ett_opcua_array_CreateMonitoredItemsRequest
;
135 extern int ett_opcua_CreateMonitoredItemsResponse
;
136 extern int ett_opcua_array_CreateMonitoredItemsResponse
;
137 extern int ett_opcua_ModifyMonitoredItemsRequest
;
138 extern int ett_opcua_array_ModifyMonitoredItemsRequest
;
139 extern int ett_opcua_ModifyMonitoredItemsResponse
;
140 extern int ett_opcua_array_ModifyMonitoredItemsResponse
;
141 extern int ett_opcua_SetMonitoringModeRequest
;
142 extern int ett_opcua_array_SetMonitoringModeRequest
;
143 extern int ett_opcua_SetMonitoringModeResponse
;
144 extern int ett_opcua_array_SetMonitoringModeResponse
;
145 extern int ett_opcua_SetTriggeringRequest
;
146 extern int ett_opcua_array_SetTriggeringRequest
;
147 extern int ett_opcua_SetTriggeringResponse
;
148 extern int ett_opcua_array_SetTriggeringResponse
;
149 extern int ett_opcua_DeleteMonitoredItemsRequest
;
150 extern int ett_opcua_array_DeleteMonitoredItemsRequest
;
151 extern int ett_opcua_DeleteMonitoredItemsResponse
;
152 extern int ett_opcua_array_DeleteMonitoredItemsResponse
;
153 extern int ett_opcua_CreateSubscriptionRequest
;
154 extern int ett_opcua_array_CreateSubscriptionRequest
;
155 extern int ett_opcua_CreateSubscriptionResponse
;
156 extern int ett_opcua_array_CreateSubscriptionResponse
;
157 extern int ett_opcua_ModifySubscriptionRequest
;
158 extern int ett_opcua_array_ModifySubscriptionRequest
;
159 extern int ett_opcua_ModifySubscriptionResponse
;
160 extern int ett_opcua_array_ModifySubscriptionResponse
;
161 extern int ett_opcua_SetPublishingModeRequest
;
162 extern int ett_opcua_array_SetPublishingModeRequest
;
163 extern int ett_opcua_SetPublishingModeResponse
;
164 extern int ett_opcua_array_SetPublishingModeResponse
;
165 extern int ett_opcua_PublishRequest
;
166 extern int ett_opcua_array_PublishRequest
;
167 extern int ett_opcua_PublishResponse
;
168 extern int ett_opcua_array_PublishResponse
;
169 extern int ett_opcua_RepublishRequest
;
170 extern int ett_opcua_array_RepublishRequest
;
171 extern int ett_opcua_RepublishResponse
;
172 extern int ett_opcua_array_RepublishResponse
;
173 extern int ett_opcua_TransferSubscriptionsRequest
;
174 extern int ett_opcua_array_TransferSubscriptionsRequest
;
175 extern int ett_opcua_TransferSubscriptionsResponse
;
176 extern int ett_opcua_array_TransferSubscriptionsResponse
;
177 extern int ett_opcua_DeleteSubscriptionsRequest
;
178 extern int ett_opcua_array_DeleteSubscriptionsRequest
;
179 extern int ett_opcua_DeleteSubscriptionsResponse
;
180 extern int ett_opcua_array_DeleteSubscriptionsResponse
;
181 extern int ett_opcua_TestStackRequest
;
182 extern int ett_opcua_array_TestStackRequest
;
183 extern int ett_opcua_TestStackResponse
;
184 extern int ett_opcua_array_TestStackResponse
;
185 extern int ett_opcua_TestStackExRequest
;
186 extern int ett_opcua_array_TestStackExRequest
;
187 extern int ett_opcua_TestStackExResponse
;
188 extern int ett_opcua_array_TestStackExResponse
;
190 void parseServiceFault(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
191 void parseFindServersRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
192 void parseFindServersResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
193 void parseFindServersOnNetworkRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
194 void parseFindServersOnNetworkResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
195 void parseGetEndpointsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
196 void parseGetEndpointsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
197 void parseRegisterServerRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
198 void parseRegisterServerResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
199 void parseRegisterServer2Request(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
200 void parseRegisterServer2Response(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
201 void parseOpenSecureChannelRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
202 void parseOpenSecureChannelResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
203 void parseCloseSecureChannelRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
204 void parseCloseSecureChannelResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
205 void parseCreateSessionRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
206 void parseCreateSessionResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
207 void parseActivateSessionRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
208 void parseActivateSessionResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
209 void parseCloseSessionRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
210 void parseCloseSessionResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
211 void parseCancelRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
212 void parseCancelResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
213 void parseAddNodesRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
214 void parseAddNodesResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
215 void parseAddReferencesRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
216 void parseAddReferencesResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
217 void parseDeleteNodesRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
218 void parseDeleteNodesResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
219 void parseDeleteReferencesRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
220 void parseDeleteReferencesResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
221 void parseBrowseRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
222 void parseBrowseResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
223 void parseBrowseNextRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
224 void parseBrowseNextResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
225 void parseTranslateBrowsePathsToNodeIdsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
226 void parseTranslateBrowsePathsToNodeIdsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
227 void parseRegisterNodesRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
228 void parseRegisterNodesResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
229 void parseUnregisterNodesRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
230 void parseUnregisterNodesResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
231 void parseQueryFirstRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
232 void parseQueryFirstResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
233 void parseQueryNextRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
234 void parseQueryNextResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
235 void parseReadRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
236 void parseReadResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
237 void parseHistoryReadRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
238 void parseHistoryReadResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
239 void parseWriteRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
240 void parseWriteResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
241 void parseHistoryUpdateRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
242 void parseHistoryUpdateResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
243 void parseCallRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
244 void parseCallResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
245 void parseCreateMonitoredItemsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
246 void parseCreateMonitoredItemsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
247 void parseModifyMonitoredItemsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
248 void parseModifyMonitoredItemsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
249 void parseSetMonitoringModeRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
250 void parseSetMonitoringModeResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
251 void parseSetTriggeringRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
252 void parseSetTriggeringResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
253 void parseDeleteMonitoredItemsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
254 void parseDeleteMonitoredItemsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
255 void parseCreateSubscriptionRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
256 void parseCreateSubscriptionResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
257 void parseModifySubscriptionRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
258 void parseModifySubscriptionResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
259 void parseSetPublishingModeRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
260 void parseSetPublishingModeResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
261 void parsePublishRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
262 void parsePublishResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
263 void parseRepublishRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
264 void parseRepublishResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
265 void parseTransferSubscriptionsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
266 void parseTransferSubscriptionsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
267 void parseDeleteSubscriptionsRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
268 void parseDeleteSubscriptionsResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
269 void parseTestStackRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
270 void parseTestStackResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
271 void parseTestStackExRequest(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
272 void parseTestStackExResponse(proto_tree
*tree
, tvbuff_t
*tvb
, packet_info
*pinfo
, int *pOffset
);
273 void registerServiceTypes(void);