Wireshark 4.5.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
packet-sip.h
1/* packet-sip.h
2 *
3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <[email protected]>
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
15typedef struct _sip_info_value_t
16{
17 const uint8_t *request_method;
18 unsigned response_code;
19 bool resend;
20 uint32_t setup_time;
21 /* added for VoIP calls analysis, see ui/voip_calls.c*/
22 char *tap_call_id;
23 char *tap_from_addr;
24 char *tap_to_addr;
25 uint32_t tap_cseq_number;
26 char *reason_phrase;
28
29typedef 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 unsigned cause_value;
40
41WS_DLL_PUBLIC const value_string sip_response_code_vals[];
42
43extern void dfilter_store_sip_from_addr(tvbuff_t *tvb, proto_tree *tree,
44 unsigned parameter_offset, unsigned parameter_len);
45
46extern void dissect_sip_p_access_network_info_header(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int start_offset, int line_end_offset);
47
48#endif
Definition packet_info.h:43
Definition proto.h:901
Definition packet-sip.h:16
Definition packet-sip.h:36
Definition value_string.h:25
Definition tvbuff-int.h:35