| Wireshark 4.7.0 The Wireshark network protocol analyzer

Loading...
Searching...
No Matches
packet-xmpp.h
1/* packet-xmpp.h
2 *
3 * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com>
4 *
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
8 *
9 * SPDX-License-Identifier: GPL-2.0-or-later
10 */
11
12#ifndef PACKET_XMPP_H
13#define PACKET_XMPP_H
14
15#include <epan/expert.h>
16
17#define ETT_UNKNOWN_LEN 20
18
19/*#define XMPP_DEBUG*/
20
21 extern int proto_xmpp;
22
23 extern int hf_xmpp_xmlns;
24 extern int hf_xmpp_id;
25 extern int hf_xmpp_from;
26 extern int hf_xmpp_to;
27 extern int hf_xmpp_type;
28 extern int hf_xmpp_cdata;
29 extern int hf_xmpp_attribute;
30
31 extern int hf_xmpp_iq;
32
33
34 extern int hf_xmpp_query;
35 extern int hf_xmpp_query_node;
36
37 extern int hf_xmpp_query_item;
38 extern int hf_xmpp_query_item_jid;
39 extern int hf_xmpp_query_item_name;
40 extern int hf_xmpp_query_item_subscription;
41 extern int hf_xmpp_query_item_ask;
42 extern int hf_xmpp_query_item_group;
43 extern int hf_xmpp_query_item_node;
44 extern int hf_xmpp_query_item_approved;
45
46 extern int hf_xmpp_query_identity;
47 extern int hf_xmpp_query_identity_category;
48 extern int hf_xmpp_query_identity_type;
49 extern int hf_xmpp_query_identity_name;
50
51 extern int hf_xmpp_query_feature;
52
53 extern int hf_xmpp_query_streamhost;
54 extern int hf_xmpp_query_streamhost_used;
55 extern int hf_xmpp_query_activate;
56 extern int hf_xmpp_query_udpsuccess;
57
58 extern int hf_xmpp_error;
59 extern int hf_xmpp_error_type;
60 extern int hf_xmpp_error_code;
61 extern int hf_xmpp_error_condition;
62 extern int hf_xmpp_error_text;
63
64 extern int hf_xmpp_iq_bind;
65 extern int hf_xmpp_iq_bind_jid;
66 extern int hf_xmpp_iq_bind_resource;
67
68 extern int hf_xmpp_services;
69 extern int hf_xmpp_channel;
70
71 extern int hf_xmpp_iq_session;
72 extern int hf_xmpp_features;
73
74 extern int hf_xmpp_vcard;
75 extern int hf_xmpp_vcard_x_update;
76
77
78 extern int hf_xmpp_jingle;
79 extern int hf_xmpp_jingle_sid;
80 extern int hf_xmpp_jingle_initiator;
81 extern int hf_xmpp_jingle_responder;
82 extern int hf_xmpp_jingle_action;
83
84 extern int hf_xmpp_jingle_content;
85 extern int hf_xmpp_jingle_content_creator;
86 extern int hf_xmpp_jingle_content_name;
87 extern int hf_xmpp_jingle_content_disposition;
88 extern int hf_xmpp_jingle_content_senders;
89
90 extern int hf_xmpp_jingle_content_description;
91 extern int hf_xmpp_jingle_content_description_media;
92 extern int hf_xmpp_jingle_content_description_ssrc;
93
94 extern int hf_xmpp_jingle_cont_desc_payload;
95 extern int hf_xmpp_jingle_cont_desc_payload_id;
96 extern int hf_xmpp_jingle_cont_desc_payload_channels;
97 extern int hf_xmpp_jingle_cont_desc_payload_clockrate;
98 extern int hf_xmpp_jingle_cont_desc_payload_maxptime;
99 extern int hf_xmpp_jingle_cont_desc_payload_name;
100 extern int hf_xmpp_jingle_cont_desc_payload_ptime;
101
102 extern int hf_xmpp_jingle_cont_desc_payload_param;
103 extern int hf_xmpp_jingle_cont_desc_payload_param_value;
104 extern int hf_xmpp_jingle_cont_desc_payload_param_name;
105
106 extern int hf_xmpp_jingle_cont_desc_enc;
107 extern int hf_xmpp_jingle_cont_desc_enc_zrtp_hash;
108 extern int hf_xmpp_jingle_cont_desc_enc_crypto;
109
110 extern int hf_xmpp_jingle_cont_desc_rtp_hdr;
111 extern int hf_xmpp_jingle_cont_desc_bandwidth;
112
113 extern int hf_xmpp_jingle_cont_trans;
114 extern int hf_xmpp_jingle_cont_trans_pwd;
115 extern int hf_xmpp_jingle_cont_trans_ufrag;
116
117 extern int hf_xmpp_jingle_cont_trans_cand;
118 extern int hf_xmpp_jingle_cont_trans_rem_cand;
119
120 extern int hf_xmpp_jingle_cont_trans_activated;
121 extern int hf_xmpp_jingle_cont_trans_candidate_used;
122 extern int hf_xmpp_jingle_cont_trans_candidate_error;
123 extern int hf_xmpp_jingle_cont_trans_proxy_error;
124
125 extern int hf_xmpp_jingle_reason;
126 extern int hf_xmpp_jingle_reason_condition;
127 extern int hf_xmpp_jingle_reason_text;
128
129 extern int hf_xmpp_jingle_rtp_info;
130
131 extern int hf_xmpp_jingle_file_transfer_offer;
132 extern int hf_xmpp_jingle_file_transfer_request;
133 extern int hf_xmpp_jingle_file_transfer_received;
134 extern int hf_xmpp_jingle_file_transfer_abort;
135 extern int hf_xmpp_jingle_file_transfer_checksum;
136
137 extern int hf_xmpp_si;
138 extern int hf_xmpp_si_file;
139
140 extern int hf_xmpp_iq_feature_neg;
141 extern int hf_xmpp_x_data;
142 extern int hf_xmpp_x_data_field;
143 extern int hf_xmpp_x_data_field_value;
144 extern int hf_xmpp_x_data_instructions;
145 extern int hf_xmpp_muc_user_status;
146
147 extern int hf_xmpp_message;
148 extern int hf_xmpp_message_chatstate;
149
150 extern int hf_xmpp_message_thread;
151 extern int hf_xmpp_message_thread_parent;
152
153 extern int hf_xmpp_message_body;
154 extern int hf_xmpp_message_subject;
155
156 extern int hf_xmpp_ibb_open;
157 extern int hf_xmpp_ibb_close;
158 extern int hf_xmpp_ibb_data;
159
160 extern int hf_xmpp_delay;
161
162 extern int hf_xmpp_x_event;
163 extern int hf_xmpp_x_event_condition;
164
165 extern int hf_xmpp_presence;
166 extern int hf_xmpp_presence_show;
167 extern int hf_xmpp_presence_status;
168 extern int hf_xmpp_presence_caps;
169
170 extern int hf_xmpp_auth;
171 extern int hf_xmpp_failure;
172 extern int hf_xmpp_failure_text;
173 extern int hf_xmpp_stream;
174 extern int hf_xmpp_starttls;
175 extern int hf_xmpp_proceed;
176 extern int hf_xmpp_xml_header_version;
177 extern int hf_xmpp_stream_end;
178
179
180 extern int hf_xmpp_muc_x;
181 extern int hf_xmpp_muc_user_x;
182 extern int hf_xmpp_muc_user_item;
183 extern int hf_xmpp_muc_user_invite;
184
185 extern int hf_xmpp_gtalk_session;
186 extern int hf_xmpp_gtalk_session_type;
187 extern int hf_xmpp_gtalk;
188 extern int hf_xmpp_gtalk_setting;
189 extern int hf_xmpp_gtalk_setting_element;
190 extern int hf_xmpp_gtalk_nosave_x;
191 extern int hf_xmpp_gtalk_mail_mailbox;
192 extern int hf_xmpp_gtalk_mail_new_mail;
193 extern int hf_xmpp_gtalk_transport_p2p;
194 extern int hf_xmpp_gtalk_mail_snippet;
195 extern int hf_xmpp_gtalk_status_status_list;
196
197 extern int hf_xmpp_conf_info;
198 extern int hf_xmpp_conf_info_sid;
199
200 extern int hf_xmpp_unknown;
201 extern int hf_xmpp_unknown_attr;
202
203 extern int hf_xmpp_response_in;
204 extern int hf_xmpp_response_to;
205 extern int hf_xmpp_jingle_session;
206 extern int hf_xmpp_ibb;
207
208 extern int hf_xmpp_ping;
209 extern int hf_xmpp_hashes;
210
211 extern int hf_xmpp_jitsi_inputevt;
212 extern int hf_xmpp_jitsi_inputevt_rmt_ctrl;
213
214 extern int ett_xmpp_iq;
215 extern int ett_xmpp_query;
216 extern int ett_xmpp_query_item;
217 extern int ett_xmpp_query_identity;
218
219 extern int ett_xmpp_query_streamhost;
220 extern int ett_xmpp_query_streamhost_used;
221 extern int ett_xmpp_query_udpsuccess;
222
223 extern int ett_xmpp_iq_bind;
224 extern int ett_xmpp_iq_session;
225 extern int ett_xmpp_vcard;
226 extern int ett_xmpp_vcard_x_update;
227
228 extern int ett_xmpp_jingle;
229 extern int ett_xmpp_jingle_content;
230 extern int ett_xmpp_jingle_content_description;
231 extern int ett_xmpp_jingle_cont_desc_enc;
232 extern int ett_xmpp_jingle_cont_desc_enc_zrtp_hash;
233 extern int ett_xmpp_jingle_cont_desc_enc_crypto;
234 extern int ett_xmpp_jingle_cont_desc_rtp_hdr;
235 extern int ett_xmpp_jingle_cont_desc_bandwidth;
236 extern int ett_xmpp_jingle_cont_desc_payload;
237 extern int ett_xmpp_jingle_cont_desc_payload_param;
238 extern int ett_xmpp_jingle_cont_trans;
239 extern int ett_xmpp_jingle_cont_trans_cand;
240 extern int ett_xmpp_jingle_cont_trans_rem_cand;
241 extern int ett_xmpp_jingle_reason;
242 extern int ett_xmpp_jingle_rtp_info;
243 extern int ett_xmpp_jingle_file_transfer_offer;
244 extern int ett_xmpp_jingle_file_transfer_request;
245 extern int ett_xmpp_jingle_file_transfer_received;
246 extern int ett_xmpp_jingle_file_transfer_abort;
247 extern int ett_xmpp_jingle_file_transfer_checksum;
248 extern int ett_xmpp_jingle_file_transfer_file;
249
250 extern int ett_xmpp_services;
251 extern int ett_xmpp_services_relay;
252 extern int ett_xmpp_channel;
253
254 extern int ett_xmpp_si;
255 extern int ett_xmpp_si_file;
256 extern int ett_xmpp_si_file_range;
257
258 extern int ett_xmpp_iq_feature_neg;
259 extern int ett_xmpp_x_data;
260 extern int ett_xmpp_x_data_field;
261 extern int ett_xmpp_x_data_field_value;
262
263 extern int ett_xmpp_ibb_open;
264 extern int ett_xmpp_ibb_close;
265 extern int ett_xmpp_ibb_data;
266
267 extern int ett_xmpp_delay;
268
269 extern int ett_xmpp_x_event;
270
271 extern int ett_xmpp_message;
272 extern int ett_xmpp_message_thread;
273 extern int ett_xmpp_message_body;
274 extern int ett_xmpp_message_subject;
275
276 extern int ett_xmpp_presence;
277 extern int ett_xmpp_presence_status;
278 extern int ett_xmpp_presence_caps;
279
280 extern int ett_xmpp_auth;
281 extern int ett_xmpp_failure;
282 extern int ett_xmpp_stream;
283 extern int ett_xmpp_features;
284 extern int ett_xmpp_features_mechanisms;
285 extern int ett_xmpp_proceed;
286 extern int ett_xmpp_starttls;
287
288 extern int ett_xmpp_muc_x;
289 extern int ett_xmpp_muc_hist;
290 extern int ett_xmpp_muc_user_x;
291 extern int ett_xmpp_muc_user_item;
292 extern int ett_xmpp_muc_user_invite;
293
294 extern int ett_xmpp_gtalk_session;
295 extern int ett_xmpp_gtalk_session_desc;
296 extern int ett_xmpp_gtalk_session_desc_payload;
297 extern int ett_xmpp_gtalk_session_cand;
298 extern int ett_xmpp_gtalk_session_reason;
299 extern int ett_xmpp_gtalk_jingleinfo_stun;
300 extern int ett_xmpp_gtalk_jingleinfo_server;
301 extern int ett_xmpp_gtalk_jingleinfo_relay;
302 extern int ett_xmpp_gtalk_jingleinfo_relay_serv;
303 extern int ett_xmpp_gtalk_setting;
304 extern int ett_xmpp_gtalk_nosave_x;
305 extern int ett_xmpp_gtalk_mail_mailbox;
306 extern int ett_xmpp_gtalk_mail_mail_info;
307 extern int ett_xmpp_gtalk_mail_senders;
308 extern int ett_xmpp_gtalk_mail_sender;
309 extern int ett_xmpp_gtalk_status_status_list;
310 extern int ett_xmpp_gtalk_transport_p2p;
311 extern int ett_xmpp_gtalk_transport_p2p_cand;
312
313
314 extern int ett_xmpp_conf_info;
315 extern int ett_xmpp_conf_desc;
316 extern int ett_xmpp_conf_state;
317 extern int ett_xmpp_conf_users;
318 extern int ett_xmpp_conf_user;
319 extern int ett_xmpp_conf_endpoint;
320 extern int ett_xmpp_conf_media;
321
322 extern int ett_xmpp_ping;
323 extern int ett_xmpp_hashes;
324 extern int ett_xmpp_hashes_hash;
325
326 extern int ett_xmpp_jitsi_inputevt;
327 extern int ett_xmpp_jitsi_inputevt_rmt_ctrl;
328
329 extern int ett_unknown[ETT_UNKNOWN_LEN];
330
331 extern expert_field ei_xmpp_starttls_missing;
332 extern expert_field ei_xmpp_response;
333 extern expert_field ei_xmpp_proceed_already_in_frame;
334 extern expert_field ei_xmpp_starttls_already_in_frame;
335 extern expert_field ei_xmpp_packet_without_response;
336 extern expert_field ei_xmpp_unknown_element;
337 extern expert_field ei_xmpp_field_unexpected_value;
338 extern expert_field ei_xmpp_unknown_attribute;
339 extern expert_field ei_xmpp_required_attribute;
340
341
342#endif /* PACKET_XMPP_H */
343
expert.h
expert_field
Definition expert.h:39