summaryrefslogtreecommitdiffstats
path: root/plugins/epan/opcua/opcua_serviceparser.h
blob: 86dfe3d5004befcd06e2e76e1a5ea35c872e0d8c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
/******************************************************************************
** Copyright (C) 2006-2015 ascolab GmbH. All Rights Reserved.
** Web: http://www.ascolab.com
**
** SPDX-License-Identifier: GPL-2.0-or-later
**
** This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
** WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
**
** Project: OpcUa Wireshark Plugin
**
** Description: OpcUa Service Type Parser
**
** This file was autogenerated on 13.10.2015.
** DON'T MODIFY THIS FILE!
** XXX - well, except that you may have to.  See the README.
**
******************************************************************************/

#include <glib.h>
#include <epan/packet.h>

extern int ett_opcua_ServiceFault;
extern int ett_opcua_array_ServiceFault;
extern int ett_opcua_FindServersRequest;
extern int ett_opcua_array_FindServersRequest;
extern int ett_opcua_FindServersResponse;
extern int ett_opcua_array_FindServersResponse;
extern int ett_opcua_FindServersOnNetworkRequest;
extern int ett_opcua_array_FindServersOnNetworkRequest;
extern int ett_opcua_FindServersOnNetworkResponse;
extern int ett_opcua_array_FindServersOnNetworkResponse;
extern int ett_opcua_GetEndpointsRequest;
extern int ett_opcua_array_GetEndpointsRequest;
extern int ett_opcua_GetEndpointsResponse;
extern int ett_opcua_array_GetEndpointsResponse;
extern int ett_opcua_RegisterServerRequest;
extern int ett_opcua_array_RegisterServerRequest;
extern int ett_opcua_RegisterServerResponse;
extern int ett_opcua_array_RegisterServerResponse;
extern int ett_opcua_RegisterServer2Request;
extern int ett_opcua_array_RegisterServer2Request;
extern int ett_opcua_RegisterServer2Response;
extern int ett_opcua_array_RegisterServer2Response;
extern int ett_opcua_OpenSecureChannelRequest;
extern int ett_opcua_array_OpenSecureChannelRequest;
extern int ett_opcua_OpenSecureChannelResponse;
extern int ett_opcua_array_OpenSecureChannelResponse;
extern int ett_opcua_CloseSecureChannelRequest;
extern int ett_opcua_array_CloseSecureChannelRequest;
extern int ett_opcua_CloseSecureChannelResponse;
extern int ett_opcua_array_CloseSecureChannelResponse;
extern int ett_opcua_CreateSessionRequest;
extern int ett_opcua_array_CreateSessionRequest;
extern int ett_opcua_CreateSessionResponse;
extern int ett_opcua_array_CreateSessionResponse;
extern int ett_opcua_ActivateSessionRequest;
extern int ett_opcua_array_ActivateSessionRequest;
extern int ett_opcua_ActivateSessionResponse;
extern int ett_opcua_array_ActivateSessionResponse;
extern int ett_opcua_CloseSessionRequest;
extern int ett_opcua_array_CloseSessionRequest;
extern int ett_opcua_CloseSessionResponse;
extern int ett_opcua_array_CloseSessionResponse;
extern int ett_opcua_CancelRequest;
extern int ett_opcua_array_CancelRequest;
extern int ett_opcua_CancelResponse;
extern int ett_opcua_array_CancelResponse;
extern int ett_opcua_AddNodesRequest;
extern int ett_opcua_array_AddNodesRequest;
extern int ett_opcua_AddNodesResponse;
extern int ett_opcua_array_AddNodesResponse;
extern int ett_opcua_AddReferencesRequest;
extern int ett_opcua_array_AddReferencesRequest;
extern int ett_opcua_AddReferencesResponse;
extern int ett_opcua_array_AddReferencesResponse;
extern int ett_opcua_DeleteNodesRequest;
extern int ett_opcua_array_DeleteNodesRequest;
extern int ett_opcua_DeleteNodesResponse;
extern int ett_opcua_array_DeleteNodesResponse;
extern int ett_opcua_DeleteReferencesRequest;
extern int ett_opcua_array_DeleteReferencesRequest;
extern int ett_opcua_DeleteReferencesResponse;
extern int ett_opcua_array_DeleteReferencesResponse;
extern int ett_opcua_BrowseRequest;
extern int ett_opcua_array_BrowseRequest;
extern int ett_opcua_BrowseResponse;
extern int ett_opcua_array_BrowseResponse;
extern int ett_opcua_BrowseNextRequest;
extern int ett_opcua_array_BrowseNextRequest;
extern int ett_opcua_BrowseNextResponse;
extern int ett_opcua_array_BrowseNextResponse;
extern int ett_opcua_TranslateBrowsePathsToNodeIdsRequest;
extern int ett_opcua_array_TranslateBrowsePathsToNodeIdsRequest;
extern int ett_opcua_TranslateBrowsePathsToNodeIdsResponse;
extern int ett_opcua_array_TranslateBrowsePathsToNodeIdsResponse;
extern int ett_opcua_RegisterNodesRequest;
extern int ett_opcua_array_RegisterNodesRequest;
extern int ett_opcua_RegisterNodesResponse;
extern int ett_opcua_array_RegisterNodesResponse;
extern int ett_opcua_UnregisterNodesRequest;
extern int ett_opcua_array_UnregisterNodesRequest;
extern int ett_opcua_UnregisterNodesResponse;
extern int ett_opcua_array_UnregisterNodesResponse;
extern int ett_opcua_QueryFirstRequest;
extern int ett_opcua_array_QueryFirstRequest;
extern int ett_opcua_QueryFirstResponse;
extern int ett_opcua_array_QueryFirstResponse;
extern int ett_opcua_QueryNextRequest;
extern int ett_opcua_array_QueryNextRequest;
extern int ett_opcua_QueryNextResponse;
extern int ett_opcua_array_QueryNextResponse;
extern int ett_opcua_ReadRequest;
extern int ett_opcua_array_ReadRequest;
extern int ett_opcua_ReadResponse;
extern int ett_opcua_array_ReadResponse;
extern int ett_opcua_HistoryReadRequest;
extern int ett_opcua_array_HistoryReadRequest;
extern int ett_opcua_HistoryReadResponse;
extern int ett_opcua_array_HistoryReadResponse;
extern int ett_opcua_WriteRequest;
extern int ett_opcua_array_WriteRequest;
extern int ett_opcua_WriteResponse;
extern int ett_opcua_array_WriteResponse;
extern int ett_opcua_HistoryUpdateRequest;
extern int ett_opcua_array_HistoryUpdateRequest;
extern int ett_opcua_HistoryUpdateResponse;
extern int ett_opcua_array_HistoryUpdateResponse;
extern int ett_opcua_CallRequest;
extern int ett_opcua_array_CallRequest;
extern int ett_opcua_CallResponse;
extern int ett_opcua_array_CallResponse;
extern int ett_opcua_CreateMonitoredItemsRequest;
extern int ett_opcua_array_CreateMonitoredItemsRequest;
extern int ett_opcua_CreateMonitoredItemsResponse;
extern int ett_opcua_array_CreateMonitoredItemsResponse;
extern int ett_opcua_ModifyMonitoredItemsRequest;
extern int ett_opcua_array_ModifyMonitoredItemsRequest;
extern int ett_opcua_ModifyMonitoredItemsResponse;
extern int ett_opcua_array_ModifyMonitoredItemsResponse;
extern int ett_opcua_SetMonitoringModeRequest;
extern int ett_opcua_array_SetMonitoringModeRequest;
extern int ett_opcua_SetMonitoringModeResponse;
extern int ett_opcua_array_SetMonitoringModeResponse;
extern int ett_opcua_SetTriggeringRequest;
extern int ett_opcua_array_SetTriggeringRequest;
extern int ett_opcua_SetTriggeringResponse;
extern int ett_opcua_array_SetTriggeringResponse;
extern int ett_opcua_DeleteMonitoredItemsRequest;
extern int ett_opcua_array_DeleteMonitoredItemsRequest;
extern int ett_opcua_DeleteMonitoredItemsResponse;
extern int ett_opcua_array_DeleteMonitoredItemsResponse;
extern int ett_opcua_CreateSubscriptionRequest;
extern int ett_opcua_array_CreateSubscriptionRequest;
extern int ett_opcua_CreateSubscriptionResponse;
extern int ett_opcua_array_CreateSubscriptionResponse;
extern int ett_opcua_ModifySubscriptionRequest;
extern int ett_opcua_array_ModifySubscriptionRequest;
extern int ett_opcua_ModifySubscriptionResponse;
extern int ett_opcua_array_ModifySubscriptionResponse;
extern int ett_opcua_SetPublishingModeRequest;
extern int ett_opcua_array_SetPublishingModeRequest;
extern int ett_opcua_SetPublishingModeResponse;
extern int ett_opcua_array_SetPublishingModeResponse;
extern int ett_opcua_PublishRequest;
extern int ett_opcua_array_PublishRequest;
extern int ett_opcua_PublishResponse;
extern int ett_opcua_array_PublishResponse;
extern int ett_opcua_RepublishRequest;
extern int ett_opcua_array_RepublishRequest;
extern int ett_opcua_RepublishResponse;
extern int ett_opcua_array_RepublishResponse;
extern int ett_opcua_TransferSubscriptionsRequest;
extern int ett_opcua_array_TransferSubscriptionsRequest;
extern int ett_opcua_TransferSubscriptionsResponse;
extern int ett_opcua_array_TransferSubscriptionsResponse;
extern int ett_opcua_DeleteSubscriptionsRequest;
extern int ett_opcua_array_DeleteSubscriptionsRequest;
extern int ett_opcua_DeleteSubscriptionsResponse;
extern int ett_opcua_array_DeleteSubscriptionsResponse;
extern int ett_opcua_TestStackRequest;
extern int ett_opcua_array_TestStackRequest;
extern int ett_opcua_TestStackResponse;
extern int ett_opcua_array_TestStackResponse;
extern int ett_opcua_TestStackExRequest;
extern int ett_opcua_array_TestStackExRequest;
extern int ett_opcua_TestStackExResponse;
extern int ett_opcua_array_TestStackExResponse;

void parseServiceFault(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseFindServersRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseFindServersResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseFindServersOnNetworkRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseFindServersOnNetworkResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseGetEndpointsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseGetEndpointsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRegisterServerRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRegisterServerResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRegisterServer2Request(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRegisterServer2Response(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseOpenSecureChannelRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseOpenSecureChannelResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCloseSecureChannelRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCloseSecureChannelResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCreateSessionRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCreateSessionResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseActivateSessionRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseActivateSessionResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCloseSessionRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCloseSessionResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCancelRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCancelResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseAddNodesRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseAddNodesResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseAddReferencesRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseAddReferencesResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteNodesRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteNodesResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteReferencesRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteReferencesResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseBrowseRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseBrowseResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseBrowseNextRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseBrowseNextResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTranslateBrowsePathsToNodeIdsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTranslateBrowsePathsToNodeIdsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRegisterNodesRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRegisterNodesResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseUnregisterNodesRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseUnregisterNodesResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseQueryFirstRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseQueryFirstResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseQueryNextRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseQueryNextResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseReadRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseReadResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseHistoryReadRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseHistoryReadResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseWriteRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseWriteResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseHistoryUpdateRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseHistoryUpdateResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCallRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCallResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCreateMonitoredItemsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCreateMonitoredItemsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseModifyMonitoredItemsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseModifyMonitoredItemsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseSetMonitoringModeRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseSetMonitoringModeResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseSetTriggeringRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseSetTriggeringResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteMonitoredItemsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteMonitoredItemsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCreateSubscriptionRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseCreateSubscriptionResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseModifySubscriptionRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseModifySubscriptionResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseSetPublishingModeRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseSetPublishingModeResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parsePublishRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parsePublishResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRepublishRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseRepublishResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTransferSubscriptionsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTransferSubscriptionsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteSubscriptionsRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseDeleteSubscriptionsResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTestStackRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTestStackResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTestStackExRequest(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void parseTestStackExResponse(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int *pOffset);
void registerServiceTypes(void);