Wireshark  2.9.0-477-g68ec514b
The Wireshark network protocol analyzer
packet-sdp.h
1 /* packet-sdp.h
2  * Routines for SDP packet disassembly (RFC 2327)
3  *
4  * Jason Lango <jal@netapp.com>
5  * Liberally copied from packet-http.c, by Guy Harris <guy@alum.mit.edu>
6  * 2005 Alejandro Vaquero <alejandro.vaquero@verso.com>, add support for tap
7  *
8  * Wireshark - Network traffic analyzer
9  * By Gerald Combs <gerald@wireshark.org>
10  * Copyright 1998 Gerald Combs
11  *
12  * SPDX-License-Identifier: GPL-2.0-or-later
13  */
14 
15 typedef struct _sdp_packet_info {
16  gchar summary_str[50]; /* SDP summary string for VoIP calls graph analysis */
18 
19 enum sdp_exchange_type
20 {
21  SDP_EXCHANGE_OFFER = 0,
22  SDP_EXCHANGE_ANSWER_ACCEPT,
23  SDP_EXCHANGE_ANSWER_REJECT
24 };
25 
26 extern void setup_sdp_transport(tvbuff_t *tvb, packet_info *pinfo, enum sdp_exchange_type type, int request_frame, const gboolean delay);
27 /* Handles duplicate OFFER packets so they don't end up processed by dissect_sdp(). This can probably
28  * be removed when all higher layer dissectors properly handle SDP themselves with setup_sdp_transport()
29  */
30 extern void setup_sdp_transport_resend(int current_frame, int request_frame);
Definition: packet-sdp.h:15
Definition: packet_info.h:44
Definition: tvbuff-int.h:35