Revert "TODO epan/dissectors/asn1/kerberos/packet-kerberos-template.c new GSS flags"
[wireshark-sm.git] / epan / dissectors / packet-xmpp.h
blob64cc78f99afd9d0f39cec6076d40fb5ebab293b3
1 /* packet-xmpp.h
3 * Copyright 2011, Mariusz Okroj <okrojmariusz[]gmail.com>
5 * Wireshark - Network traffic analyzer
6 * By Gerald Combs <gerald@wireshark.org>
7 * Copyright 1998 Gerald Combs
9 * SPDX-License-Identifier: GPL-2.0-or-later
12 #ifndef PACKET_XMPP_H
13 #define PACKET_XMPP_H
15 #include <epan/expert.h>
17 #define ETT_UNKNOWN_LEN 20
19 /*#define XMPP_DEBUG*/
21 extern int proto_xmpp;
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;
31 extern int hf_xmpp_iq;
34 extern int hf_xmpp_query;
35 extern int hf_xmpp_query_node;
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;
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;
51 extern int hf_xmpp_query_feature;
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;
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;
64 extern int hf_xmpp_iq_bind;
65 extern int hf_xmpp_iq_bind_jid;
66 extern int hf_xmpp_iq_bind_resource;
68 extern int hf_xmpp_services;
69 extern int hf_xmpp_channel;
71 extern int hf_xmpp_iq_session;
72 extern int hf_xmpp_features;
74 extern int hf_xmpp_vcard;
75 extern int hf_xmpp_vcard_x_update;
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;
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;
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;
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;
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;
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;
110 extern int hf_xmpp_jingle_cont_desc_rtp_hdr;
111 extern int hf_xmpp_jingle_cont_desc_bandwidth;
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;
117 extern int hf_xmpp_jingle_cont_trans_cand;
118 extern int hf_xmpp_jingle_cont_trans_rem_cand;
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;
125 extern int hf_xmpp_jingle_reason;
126 extern int hf_xmpp_jingle_reason_condition;
127 extern int hf_xmpp_jingle_reason_text;
129 extern int hf_xmpp_jingle_rtp_info;
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;
137 extern int hf_xmpp_si;
138 extern int hf_xmpp_si_file;
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;
147 extern int hf_xmpp_message;
148 extern int hf_xmpp_message_chatstate;
150 extern int hf_xmpp_message_thread;
151 extern int hf_xmpp_message_thread_parent;
153 extern int hf_xmpp_message_body;
154 extern int hf_xmpp_message_subject;
156 extern int hf_xmpp_ibb_open;
157 extern int hf_xmpp_ibb_close;
158 extern int hf_xmpp_ibb_data;
160 extern int hf_xmpp_delay;
162 extern int hf_xmpp_x_event;
163 extern int hf_xmpp_x_event_condition;
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;
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;
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;
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;
197 extern int hf_xmpp_conf_info;
198 extern int hf_xmpp_conf_info_sid;
200 extern int hf_xmpp_unknown;
201 extern int hf_xmpp_unknown_attr;
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;
208 extern int hf_xmpp_ping;
209 extern int hf_xmpp_hashes;
211 extern int hf_xmpp_jitsi_inputevt;
212 extern int hf_xmpp_jitsi_inputevt_rmt_ctrl;
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;
219 extern int ett_xmpp_query_streamhost;
220 extern int ett_xmpp_query_streamhost_used;
221 extern int ett_xmpp_query_udpsuccess;
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;
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;
250 extern int ett_xmpp_services;
251 extern int ett_xmpp_services_relay;
252 extern int ett_xmpp_channel;
254 extern int ett_xmpp_si;
255 extern int ett_xmpp_si_file;
256 extern int ett_xmpp_si_file_range;
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;
263 extern int ett_xmpp_ibb_open;
264 extern int ett_xmpp_ibb_close;
265 extern int ett_xmpp_ibb_data;
267 extern int ett_xmpp_delay;
269 extern int ett_xmpp_x_event;
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;
276 extern int ett_xmpp_presence;
277 extern int ett_xmpp_presence_status;
278 extern int ett_xmpp_presence_caps;
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;
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;
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;
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;
322 extern int ett_xmpp_ping;
323 extern int ett_xmpp_hashes;
324 extern int ett_xmpp_hashes_hash;
326 extern int ett_xmpp_jitsi_inputevt;
327 extern int ett_xmpp_jitsi_inputevt_rmt_ctrl;
329 extern int ett_unknown[ETT_UNKNOWN_LEN];
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;
342 #endif /* PACKET_XMPP_H */