sq epan/dissectors/pidl/rcg/rcg.cnf
[wireshark-sm.git] / epan / tap-voip.h
blob30ce17eacc412927c3fc976348aa2a435a09ca29
1 /** @file
3 * VoIP packet tap interface 2007 Tomas Kukosa
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 _TAP_VOIP_H_
13 #define _TAP_VOIP_H_
15 /* defines voip call state */
16 typedef enum _voip_call_state {
17 VOIP_NO_STATE,
18 VOIP_CALL_SETUP,
19 VOIP_RINGING,
20 VOIP_IN_CALL,
21 VOIP_CANCELLED,
22 VOIP_COMPLETED,
23 VOIP_REJECTED,
24 VOIP_UNKNOWN
25 } voip_call_state;
27 typedef enum _voip_call_active_state {
28 VOIP_ACTIVE,
29 VOIP_INACTIVE
30 } voip_call_active_state;
32 /* structure for common/proprietary VoIP calls TAP */
33 typedef struct _voip_packet_info_t
35 char *protocol_name;
36 char *call_id;
37 voip_call_state call_state;
38 voip_call_active_state call_active_state;
39 char *from_identity;
40 char *to_identity;
41 char *call_comment;
42 char *frame_label;
43 char *frame_comment;
44 } voip_packet_info_t;
46 #endif /* _TAP_VOIP_H_ */