Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-sip.h
1 /* packet-sip.h
2  *
3  * Wireshark - Network traffic analyzer
4  * By Gerald Combs <gerald@wireshark.org>
5  * Copyright 1998 Gerald Combs
6  *
7  * SPDX-License-Identifier: GPL-2.0-or-later
8  */
9 
10 #ifndef __PACKET_SIP_H__
11 #define __PACKET_SIP_H__
12 
13 #include <epan/packet.h>
14 
15 typedef struct _sip_info_value_t
16 {
17  const guint8 *request_method;
18  guint response_code;
19  gboolean resend;
20  guint32 setup_time;
21  /* added for VoIP calls analysis, see ui/voip_calls.c*/
22  gchar *tap_call_id;
23  gchar *tap_from_addr;
24  gchar *tap_to_addr;
25  guint32 tap_cseq_number;
26  gchar *reason_phrase;
28 
29 typedef enum {
30  SIP_PROTO_OTHER = 0,
31  SIP_PROTO_SIP = 1,
32  SIP_PROTO_Q850 = 2
33 } sip_reason_code_proto_t;
34 
36 {
37  sip_reason_code_proto_t protocol_type_num;
38  guint cause_value;
40 
41 extern void dfilter_store_sip_from_addr(tvbuff_t *tvb, proto_tree *tree,
42  guint parameter_offset, guint parameter_len);
43 
44 #endif
Definition: packet-sip.h:15
Definition: tvbuff-int.h:35
Definition: proto.h:759
Definition: packet-sip.h:35