Update packet-dcm.h using DICOM 2018e definitions
[metze/wireshark/wip.git] / epan / tap-voip.h
1 /* tap-voip.h
2  * VoIP packet tap interface   2007 Tomas Kukosa
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10
11 #ifndef _TAP_VOIP_H_
12 #define _TAP_VOIP_H_
13
14 /* defines voip call state */
15 typedef enum _voip_call_state {
16         VOIP_NO_STATE,
17         VOIP_CALL_SETUP,
18         VOIP_RINGING,
19         VOIP_IN_CALL,
20         VOIP_CANCELLED,
21         VOIP_COMPLETED,
22         VOIP_REJECTED,
23         VOIP_UNKNOWN
24 } voip_call_state;
25
26 typedef enum _voip_call_active_state {
27         VOIP_ACTIVE,
28         VOIP_INACTIVE
29 } voip_call_active_state;
30
31 /* structure for common/proprietary VoIP calls TAP */
32 typedef struct _voip_packet_info_t
33 {
34         gchar *protocol_name;
35         gchar *call_id;
36         voip_call_state call_state;
37         voip_call_active_state call_active_state;
38         gchar *from_identity;
39         gchar *to_identity;
40         gchar *call_comment;
41         gchar *frame_label;
42         gchar *frame_comment;
43 } voip_packet_info_t;
44
45 #endif  /* _TAP_VOIP_H_ */