smb2-dissector: learn the "REPLAY_OPERATION" flag
[obnox/wireshark/wip.git] / epan / tap-voip.h
1 /* tap-voip.h
2  * VoIP packet tap interface   2007 Tomas Kukosa
3  *
4  * $Id$
5  *
6  * Wireshark - Network traffic analyzer
7  * By Gerald Combs <gerald@wireshark.org>
8  * Copyright 1998 Gerald Combs
9  * 
10  * This program is free software; you can redistribute it and/or
11  * modify it under the terms of the GNU General Public License
12  * as published by the Free Software Foundation; either version 2
13  * of the License, or (at your option) any later version.
14  * 
15  * This program is distributed in the hope that it will be useful,
16  * but WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18  * GNU General Public License for more details.
19  * 
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
23  */
24
25 #ifndef _TAP_VOIP_H_
26 #define _TAP_VOIP_H_
27
28 /* defines voip call state */
29 typedef enum _voip_call_state {
30         VOIP_NO_STATE,
31         VOIP_CALL_SETUP,
32         VOIP_RINGING,
33         VOIP_IN_CALL,
34         VOIP_CANCELLED,
35         VOIP_COMPLETED,
36         VOIP_REJECTED,
37         VOIP_UNKNOWN
38 } voip_call_state;
39
40 typedef enum _voip_call_active_state {
41         VOIP_ACTIVE,
42         VOIP_INACTIVE
43 } voip_call_active_state;
44
45 /* structure for common/proprietary VoIP calls TAP */
46 typedef struct _voip_packet_info_t
47 {
48         gchar *protocol_name;
49         gchar *call_id;
50         voip_call_state call_state;
51         voip_call_active_state call_active_state;
52         gchar *from_identity;
53         gchar *to_identity;
54         gchar *call_comment;
55         gchar *frame_label;
56         gchar *frame_comment;
57 } voip_packet_info_t;
58
59 #endif  /* _TAP_VOIP_H_ */