Pau Espin Pedrol | bb3ccde | 2021-12-23 19:49:26 +0100 | [diff] [blame] | 1 | /* IuUP connection functionalitites */ |
| 2 | |
| 3 | /* |
| 4 | * (C) 2021 by sysmocom s.f.m.c. GmbH <info@sysmocom.de> |
| 5 | * All Rights Reserved |
| 6 | * |
| 7 | * Author: Pau Espin Pedrol |
| 8 | * |
| 9 | * This program is free software; you can redistribute it and/or modify |
| 10 | * it under the terms of the GNU Affero General Public License as published by |
| 11 | * the Free Software Foundation; either version 3 of the License, or |
| 12 | * (at your option) any later version. |
| 13 | * |
| 14 | * This program is distributed in the hope that it will be useful, |
| 15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | * GNU Affero General Public License for more details. |
| 18 | * |
| 19 | * You should have received a copy of the GNU Affero General Public License |
| 20 | * along with this program. If not, see <http://www.gnu.org/licenses/>. |
| 21 | * |
| 22 | */ |
| 23 | #pragma once |
| 24 | |
| 25 | #include <osmocom/core/msgb.h> |
| 26 | |
| 27 | struct mgcp_conn_rtp; |
| 28 | |
| 29 | int mgcp_conn_iuup_init(struct mgcp_conn_rtp *conn_rtp); |
| 30 | void mgcp_conn_iuup_cleanup(struct mgcp_conn_rtp *conn_rtp); |
| 31 | int mgcp_conn_iuup_dispatch_rtp(struct msgb *msg); |
| 32 | int mgcp_conn_iuup_send_rtp(struct mgcp_conn_rtp *conn_src_rtp, struct mgcp_conn_rtp *conn_dest_rtp, struct msgb *msg); |
| 33 | int mgcp_conn_iuup_send_dummy(struct mgcp_conn_rtp *conn_rtp); |