view rtp-mgr/struct.h @ 193:1f9a6cede2c5

sip-manual-out: split user_cmd.c from disc_cmd.c
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 17 Mar 2023 14:31:54 -0800
parents b79d6334f543
children
line wrap: on
line source

/*
 * This header file defines internal data structures for themwi-rtp-mgr.
 */

struct bind_range_cfg {
	struct in_addr	bind_ip;
	unsigned	port_range_start;
	unsigned	port_range_end;
	unsigned	port_next;
	unsigned	port_tries;
};

struct rtp_one_end {
	int	rtp_fd;
	int	rtcp_fd;
	struct sockaddr_in bound_addr;
};