FreeCalypso > hg > themwi-system-sw
comparison rtp-mgr/struct.h @ 179:b79d6334f543
themwi-rtp-mgr: RTP port allocation split out of themwi-mgw
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 11 Mar 2023 20:19:14 -0800 |
parents | mgw/struct.h@a6eb2de277f6 |
children |
comparison
equal
deleted
inserted
replaced
178:b259e2722485 | 179:b79d6334f543 |
---|---|
1 /* | |
2 * This header file defines internal data structures for themwi-rtp-mgr. | |
3 */ | |
4 | |
5 struct bind_range_cfg { | |
6 struct in_addr bind_ip; | |
7 unsigned port_range_start; | |
8 unsigned port_range_end; | |
9 unsigned port_next; | |
10 unsigned port_tries; | |
11 }; | |
12 | |
13 struct rtp_one_end { | |
14 int rtp_fd; | |
15 int rtcp_fd; | |
16 struct sockaddr_in bound_addr; | |
17 }; |