mgw: MDCX: Simplify early return code paths (details)
Commit
206be49c699b9f0f3d00c497b3d4eeb9bd1cafce
by Neels Hofmeyr
mgw: CRCX: Split mgcp header pars parsing into a previous step
Do most of the initial parsing and verification in a prior step, filling in a "parsed" struct which simplifies logic coming after for different message types. This commit only modifies stuff enough to work for CRCX. Further work (commits) will follow for MDCX and DLCX.
Commit
90ae9ed0a2e5a77a90920555001f63e9744b2f5e
by Neels Hofmeyr
mgw: MDCX: Split mgcp header pars parsing into a previous step
Do most of the initial parsing and verification in a prior step, filling in a "parsed" struct which simplifies logic coming after for different message types. This commit only modifies stuff enough to work for MDCX. Further work (commits) will follow for DLCX.
Commit
6747b60a9563c38ff3229b1c1612c458c7d19285
by Neels Hofmeyr
mgw: DLCX: Split mgcp header pars parsing into a previous step
Do most of the initial parsing and verification in a prior step, filling in a "parsed" struct which simplifies logic coming after for different message types.
Commit
de4090d920500b6092c55370e038b116cc214e7c
by Neels Hofmeyr
mgw: Remove wrong TODO comment
The TODO was written because the author had in mind the ptr where the codec was stored was a MGCP endpoint object, but it is actually an rtp_end which is an object under conn_rtp, so that's fine already with current code.