summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bfcp.h
blob: 0fd0f2aa0df9bd933328d477407356a479918cdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
/* packet-bfcp.h
 *
 * Wireshark - Network traffic analyzer
 * By Gerald Combs <gerald@wireshark.org>
 * Copyright 1998 Gerald Combs
 *
 * SPDX-License-Identifier: GPL-2.0-or-later
 */

#ifndef __PACKET_BFCP_H__
#define __PACKET_BFCP_H__

/* Info to save in BFCP conversation / packet-info. */
#define MAX_BFCP_SETUP_METHOD_SIZE 7
struct _bfcp_conversation_info
{
    unsigned char  setup_method_set;
    char    setup_method[MAX_BFCP_SETUP_METHOD_SIZE + 1];
    uint32_t setup_frame_number;
};


/* Add an BFCP conversation with the given details */
void bfcp_add_address(packet_info *pinfo, port_type ptype,
                      address *addr, int port,
                      const char *setup_method, uint32_t setup_frame_number);

#endif /* __PACKET_BFCP_H__ */