blob: 82b7897f4dca9ded89868a266fd82d34db027e9a (
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
|
/* packet-xmpp.h
*
* Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com>
*
* Wireshark - Network traffic analyzer
* By Gerald Combs <gerald@wireshark.org>
* Copyright 1998 Gerald Combs
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef PACKET_XMPP_H
#define PACKET_XMPP_H
#include <epan/expert.h>
#define ETT_UNKNOWN_LEN 20
/*#define XMPP_DEBUG*/
extern int proto_xmpp;
extern gint hf_xmpp_xmlns;
extern gint hf_xmpp_id;
extern gint hf_xmpp_from;
extern gint hf_xmpp_to;
extern gint hf_xmpp_type;
extern gint hf_xmpp_cdata;
extern gint hf_xmpp_attribute;
extern gint hf_xmpp_iq;
extern gint hf_xmpp_query;
extern gint hf_xmpp_query_node;
extern gint hf_xmpp_query_item;
extern gint hf_xmpp_query_item_jid;
extern gint hf_xmpp_query_item_name;
extern gint hf_xmpp_query_item_subscription;
extern gint hf_xmpp_query_item_ask;
extern gint hf_xmpp_query_item_group;
extern gint hf_xmpp_query_item_node;
extern gint hf_xmpp_query_item_approved;
extern gint hf_xmpp_query_identity;
extern gint hf_xmpp_query_identity_category;
extern gint hf_xmpp_query_identity_type;
extern gint hf_xmpp_query_identity_name;
extern gint hf_xmpp_query_feature;
extern gint hf_xmpp_query_streamhost;
extern gint hf_xmpp_query_streamhost_used;
extern gint hf_xmpp_query_activate;
extern gint hf_xmpp_query_udpsuccess;
extern gint hf_xmpp_error;
extern gint hf_xmpp_error_type;
extern gint hf_xmpp_error_code;
extern gint hf_xmpp_error_condition;
extern gint hf_xmpp_error_text;
extern gint hf_xmpp_iq_bind;
extern gint hf_xmpp_iq_bind_jid;
extern gint hf_xmpp_iq_bind_resource;
extern gint hf_xmpp_services;
extern gint hf_xmpp_channel;
extern gint hf_xmpp_iq_session;
extern gint hf_xmpp_features;
extern gint hf_xmpp_vcard;
extern gint hf_xmpp_vcard_x_update;
extern gint hf_xmpp_jingle;
extern gint hf_xmpp_jingle_sid;
extern gint hf_xmpp_jingle_initiator;
extern gint hf_xmpp_jingle_responder;
extern gint hf_xmpp_jingle_action;
extern gint hf_xmpp_jingle_content;
extern gint hf_xmpp_jingle_content_creator;
extern gint hf_xmpp_jingle_content_name;
extern gint hf_xmpp_jingle_content_disposition;
extern gint hf_xmpp_jingle_content_senders;
extern gint hf_xmpp_jingle_content_description;
extern gint hf_xmpp_jingle_content_description_media;
extern gint hf_xmpp_jingle_content_description_ssrc;
extern gint hf_xmpp_jingle_cont_desc_payload;
extern gint hf_xmpp_jingle_cont_desc_payload_id;
extern gint hf_xmpp_jingle_cont_desc_payload_channels;
extern gint hf_xmpp_jingle_cont_desc_payload_clockrate;
extern gint hf_xmpp_jingle_cont_desc_payload_maxptime;
extern gint hf_xmpp_jingle_cont_desc_payload_name;
extern gint hf_xmpp_jingle_cont_desc_payload_ptime;
extern gint hf_xmpp_jingle_cont_desc_payload_param;
extern gint hf_xmpp_jingle_cont_desc_payload_param_value;
extern gint hf_xmpp_jingle_cont_desc_payload_param_name;
extern gint hf_xmpp_jingle_cont_desc_enc;
extern gint hf_xmpp_jingle_cont_desc_enc_zrtp_hash;
extern gint hf_xmpp_jingle_cont_desc_enc_crypto;
extern gint hf_xmpp_jingle_cont_desc_rtp_hdr;
extern gint hf_xmpp_jingle_cont_desc_bandwidth;
extern gint hf_xmpp_jingle_cont_trans;
extern gint hf_xmpp_jingle_cont_trans_pwd;
extern gint hf_xmpp_jingle_cont_trans_ufrag;
extern gint hf_xmpp_jingle_cont_trans_cand;
extern gint hf_xmpp_jingle_cont_trans_rem_cand;
extern gint hf_xmpp_jingle_cont_trans_activated;
extern gint hf_xmpp_jingle_cont_trans_candidate_used;
extern gint hf_xmpp_jingle_cont_trans_candidate_error;
extern gint hf_xmpp_jingle_cont_trans_proxy_error;
extern gint hf_xmpp_jingle_reason;
extern gint hf_xmpp_jingle_reason_condition;
extern gint hf_xmpp_jingle_reason_text;
extern gint hf_xmpp_jingle_rtp_info;
extern gint hf_xmpp_jingle_file_transfer_offer;
extern gint hf_xmpp_jingle_file_transfer_request;
extern gint hf_xmpp_jingle_file_transfer_received;
extern gint hf_xmpp_jingle_file_transfer_abort;
extern gint hf_xmpp_jingle_file_transfer_checksum;
extern gint hf_xmpp_si;
extern gint hf_xmpp_si_file;
extern gint hf_xmpp_iq_feature_neg;
extern gint hf_xmpp_x_data;
extern gint hf_xmpp_x_data_field;
extern gint hf_xmpp_x_data_field_value;
extern gint hf_xmpp_x_data_instructions;
extern gint hf_xmpp_muc_user_status;
extern gint hf_xmpp_message;
extern gint hf_xmpp_message_chatstate;
extern gint hf_xmpp_message_thread;
extern gint hf_xmpp_message_thread_parent;
extern gint hf_xmpp_message_body;
extern gint hf_xmpp_message_subject;
extern gint hf_xmpp_ibb_open;
extern gint hf_xmpp_ibb_close;
extern gint hf_xmpp_ibb_data;
extern gint hf_xmpp_delay;
extern gint hf_xmpp_x_event;
extern gint hf_xmpp_x_event_condition;
extern gint hf_xmpp_presence;
extern gint hf_xmpp_presence_show;
extern gint hf_xmpp_presence_status;
extern gint hf_xmpp_presence_caps;
extern gint hf_xmpp_auth;
extern gint hf_xmpp_failure;
extern gint hf_xmpp_failure_text;
extern gint hf_xmpp_stream;
extern gint hf_xmpp_starttls;
extern gint hf_xmpp_proceed;
extern gint hf_xmpp_xml_header_version;
extern gint hf_xmpp_stream_end;
extern gint hf_xmpp_muc_x;
extern gint hf_xmpp_muc_user_x;
extern gint hf_xmpp_muc_user_item;
extern gint hf_xmpp_muc_user_invite;
extern gint hf_xmpp_gtalk_session;
extern gint hf_xmpp_gtalk_session_type;
extern gint hf_xmpp_gtalk;
extern gint hf_xmpp_gtalk_setting;
extern gint hf_xmpp_gtalk_setting_element;
extern gint hf_xmpp_gtalk_nosave_x;
extern gint hf_xmpp_gtalk_mail_mailbox;
extern gint hf_xmpp_gtalk_mail_new_mail;
extern gint hf_xmpp_gtalk_transport_p2p;
extern gint hf_xmpp_gtalk_mail_snippet;
extern gint hf_xmpp_gtalk_status_status_list;
extern gint hf_xmpp_conf_info;
extern gint hf_xmpp_conf_info_sid;
extern gint hf_xmpp_unknown;
extern gint hf_xmpp_unknown_attr;
extern gint hf_xmpp_response_in;
extern gint hf_xmpp_response_to;
extern gint hf_xmpp_jingle_session;
extern gint hf_xmpp_ibb;
extern gint hf_xmpp_ping;
extern gint hf_xmpp_hashes;
extern gint hf_xmpp_jitsi_inputevt;
extern gint hf_xmpp_jitsi_inputevt_rmt_ctrl;
extern gint ett_xmpp_iq;
extern gint ett_xmpp_query;
extern gint ett_xmpp_query_item;
extern gint ett_xmpp_query_identity;
extern gint ett_xmpp_query_streamhost;
extern gint ett_xmpp_query_streamhost_used;
extern gint ett_xmpp_query_udpsuccess;
extern gint ett_xmpp_iq_bind;
extern gint ett_xmpp_iq_session;
extern gint ett_xmpp_vcard;
extern gint ett_xmpp_vcard_x_update;
extern gint ett_xmpp_jingle;
extern gint ett_xmpp_jingle_content;
extern gint ett_xmpp_jingle_content_description;
extern gint ett_xmpp_jingle_cont_desc_enc;
extern gint ett_xmpp_jingle_cont_desc_enc_zrtp_hash;
extern gint ett_xmpp_jingle_cont_desc_enc_crypto;
extern gint ett_xmpp_jingle_cont_desc_rtp_hdr;
extern gint ett_xmpp_jingle_cont_desc_bandwidth;
extern gint ett_xmpp_jingle_cont_desc_payload;
extern gint ett_xmpp_jingle_cont_desc_payload_param;
extern gint ett_xmpp_jingle_cont_trans;
extern gint ett_xmpp_jingle_cont_trans_cand;
extern gint ett_xmpp_jingle_cont_trans_rem_cand;
extern gint ett_xmpp_jingle_reason;
extern gint ett_xmpp_jingle_rtp_info;
extern gint ett_xmpp_jingle_file_transfer_offer;
extern gint ett_xmpp_jingle_file_transfer_request;
extern gint ett_xmpp_jingle_file_transfer_received;
extern gint ett_xmpp_jingle_file_transfer_abort;
extern gint ett_xmpp_jingle_file_transfer_checksum;
extern gint ett_xmpp_jingle_file_transfer_file;
extern gint ett_xmpp_services;
extern gint ett_xmpp_services_relay;
extern gint ett_xmpp_channel;
extern gint ett_xmpp_si;
extern gint ett_xmpp_si_file;
extern gint ett_xmpp_si_file_range;
extern gint ett_xmpp_iq_feature_neg;
extern gint ett_xmpp_x_data;
extern gint ett_xmpp_x_data_field;
extern gint ett_xmpp_x_data_field_value;
extern gint ett_xmpp_ibb_open;
extern gint ett_xmpp_ibb_close;
extern gint ett_xmpp_ibb_data;
extern gint ett_xmpp_delay;
extern gint ett_xmpp_x_event;
extern gint ett_xmpp_message;
extern gint ett_xmpp_message_thread;
extern gint ett_xmpp_message_body;
extern gint ett_xmpp_message_subject;
extern gint ett_xmpp_presence;
extern gint ett_xmpp_presence_status;
extern gint ett_xmpp_presence_caps;
extern gint ett_xmpp_auth;
extern gint ett_xmpp_failure;
extern gint ett_xmpp_stream;
extern gint ett_xmpp_features;
extern gint ett_xmpp_features_mechanisms;
extern gint ett_xmpp_proceed;
extern gint ett_xmpp_starttls;
extern gint ett_xmpp_muc_x;
extern gint ett_xmpp_muc_hist;
extern gint ett_xmpp_muc_user_x;
extern gint ett_xmpp_muc_user_item;
extern gint ett_xmpp_muc_user_invite;
extern gint ett_xmpp_gtalk_session;
extern gint ett_xmpp_gtalk_session_desc;
extern gint ett_xmpp_gtalk_session_desc_payload;
extern gint ett_xmpp_gtalk_session_cand;
extern gint ett_xmpp_gtalk_session_reason;
extern gint ett_xmpp_gtalk_jingleinfo_stun;
extern gint ett_xmpp_gtalk_jingleinfo_server;
extern gint ett_xmpp_gtalk_jingleinfo_relay;
extern gint ett_xmpp_gtalk_jingleinfo_relay_serv;
extern gint ett_xmpp_gtalk_setting;
extern gint ett_xmpp_gtalk_nosave_x;
extern gint ett_xmpp_gtalk_mail_mailbox;
extern gint ett_xmpp_gtalk_mail_mail_info;
extern gint ett_xmpp_gtalk_mail_senders;
extern gint ett_xmpp_gtalk_mail_sender;
extern gint ett_xmpp_gtalk_status_status_list;
extern gint ett_xmpp_gtalk_transport_p2p;
extern gint ett_xmpp_gtalk_transport_p2p_cand;
extern gint ett_xmpp_conf_info;
extern gint ett_xmpp_conf_desc;
extern gint ett_xmpp_conf_state;
extern gint ett_xmpp_conf_users;
extern gint ett_xmpp_conf_user;
extern gint ett_xmpp_conf_endpoint;
extern gint ett_xmpp_conf_media;
extern gint ett_xmpp_ping;
extern gint ett_xmpp_hashes;
extern gint ett_xmpp_hashes_hash;
extern gint ett_xmpp_jitsi_inputevt;
extern gint ett_xmpp_jitsi_inputevt_rmt_ctrl;
extern gint ett_unknown[ETT_UNKNOWN_LEN];
extern expert_field ei_xmpp_starttls_missing;
extern expert_field ei_xmpp_response;
extern expert_field ei_xmpp_proceed_already_in_frame;
extern expert_field ei_xmpp_starttls_already_in_frame;
extern expert_field ei_xmpp_packet_without_response;
extern expert_field ei_xmpp_unknown_element;
extern expert_field ei_xmpp_field_unexpected_value;
extern expert_field ei_xmpp_unknown_attribute;
extern expert_field ei_xmpp_required_attribute;
#endif /* PACKET_XMPP_H */
|