osmo-mgw/src/libosmo-mgcp
Harald Welte 5abda312ed Change msgb ownership in processing of received msgb
The old approach was: rtp_data_net() reads a msgb from the incomging
socket, calls through whatever function chain and in the end free's it.
So none of the intermediate functions was permitted to take msgb
ownership.

This was a good choice as all processing would happen synchronously,
up to the point where that msgb was written on the output RTP socket.

Let's change this from passing msgb ownership throug the whole call
chain, through rx_rtp() to the various *_dispatch_rtp() functions.

This is required for upcoming migration to osmo_io, as in that case the
write (sendto) calls are asynchronous and hence msgb ownership needs
to be transferred.

Change-Id: I6a331f3c6b2eb51ea312ac6ef8c357185ddb79cf
2024-03-20 14:25:49 +01:00
..
Makefile.am */Makefile.am: libraries shall not be in AM_LDFLAGS 2023-03-11 04:46:12 +07:00
g711common.h treewide: remove FSF address 2021-12-14 12:50:59 +00:00
mgcp_codec.c mgw: do not fail MGCP on codec mismatch 2024-03-19 03:38:38 +00:00
mgcp_conn.c drop cfg 'sdp audio fmtp-extra' 2024-02-06 03:04:10 +01:00
mgcp_e1.c Change msgb ownership in processing of received msgb 2024-03-20 14:25:49 +01:00
mgcp_endp.c ASCI: Support conference briding with 1..n connections 2023-07-10 12:14:05 +02:00
mgcp_iuup.c Change msgb ownership in processing of received msgb 2024-03-20 14:25:49 +01:00
mgcp_msg.c ASCI: Add new mode for voice group/broadcast call 2023-07-10 11:54:16 +02:00
mgcp_network.c Change msgb ownership in processing of received msgb 2024-03-20 14:25:49 +01:00
mgcp_osmux.c Change msgb ownership in processing of received msgb 2024-03-20 14:25:49 +01:00
mgcp_protocol.c drop cfg 'sdp audio fmtp-extra' 2024-02-06 03:04:10 +01:00
mgcp_ratectr.c osmux: Fix incorrect rate_ctr_group used in mgcp_osmux.c 2022-09-25 00:05:49 +02:00
mgcp_sdp.c drop cfg 'sdp audio fmtp-extra' 2024-02-06 03:04:10 +01:00
mgcp_stat.c osmux: Clean up mgcp_config osmux fields 2022-10-13 12:36:44 +02:00
mgcp_threads_queue.c add a lock-free bounded spsc interthread queue 2021-11-17 21:20:08 +00:00
mgcp_trunk.c adjust talloc context 2021-09-13 18:49:49 +02:00
mgcp_vty.c drop cfg 'sdp audio fmtp-extra' 2024-02-06 03:04:10 +01:00