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