Wireshark  4.3.0
The Wireshark network protocol analyzer
tap-voip.h
Go to the documentation of this file.
1 
12 #ifndef _TAP_VOIP_H_
13 #define _TAP_VOIP_H_
14 
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;
26 
27 typedef enum _voip_call_active_state {
28  VOIP_ACTIVE,
29  VOIP_INACTIVE
30 } voip_call_active_state;
31 
32 /* structure for common/proprietary VoIP calls TAP */
33 typedef struct _voip_packet_info_t
34 {
35  gchar *protocol_name;
36  gchar *call_id;
37  voip_call_state call_state;
38  voip_call_active_state call_active_state;
39  gchar *from_identity;
40  gchar *to_identity;
41  gchar *call_comment;
42  gchar *frame_label;
43  gchar *frame_comment;
45 
46 #endif /* _TAP_VOIP_H_ */
Definition: tap-voip.h:34