FreeCalypso > hg > themwi-system-sw
comparison include/rtp_alloc.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 | include/tmgw_ctrl.h@f062c32a5116 |
| children |
comparison
equal
deleted
inserted
replaced
| 178:b259e2722485 | 179:b79d6334f543 |
|---|---|
| 1 /* | |
| 2 * This header file defines the ad hoc control interface | |
| 3 * to themwi-rtp-mgr over a dedicated local socket. | |
| 4 */ | |
| 5 | |
| 6 struct rtp_alloc_req { | |
| 7 uint32_t transact_ref; | |
| 8 uint32_t ep_type; | |
| 9 }; | |
| 10 | |
| 11 struct rtp_alloc_resp { | |
| 12 uint32_t transact_ref; | |
| 13 uint32_t res; | |
| 14 struct sockaddr_storage gsm_addr; | |
| 15 struct sockaddr_storage pstn_addr; | |
| 16 }; | |
| 17 | |
| 18 #define RTP_ALLOC_OK 0 | |
| 19 #define RTP_ALLOC_ERR_PARAM 1 | |
| 20 #define RTP_ALLOC_ERR_RSRC 2 |
