3 * Wireshark - Network traffic analyzer
4 * By Gerald Combs <gerald@wireshark.org>
5 * Copyright 1998 Gerald Combs
7 * SPDX-License-Identifier: GPL-2.0-or-later
10 #ifndef __PACKET_SIP_H__
11 #define __PACKET_SIP_H__
13 #include <epan/packet.h>
15 typedef struct _sip_info_value_t
17 const uint8_t *request_method
;
18 unsigned response_code
;
21 /* added for VoIP calls analysis, see ui/voip_calls.c*/
25 uint32_t tap_cseq_number
;
33 } sip_reason_code_proto_t
;
35 typedef struct _sip_reason_code_info_t
37 sip_reason_code_proto_t protocol_type_num
;
39 } sip_reason_code_info_t
;
41 WS_DLL_PUBLIC
const value_string sip_response_code_vals
[];
43 extern void dfilter_store_sip_from_addr(tvbuff_t
*tvb
, proto_tree
*tree
,
44 unsigned parameter_offset
, unsigned parameter_len
);
46 extern void dissect_sip_p_access_network_info_header(tvbuff_t
*tvb
, packet_info
*pinfo
, proto_tree
*tree
, int start_offset
, int line_end_offset
);