<p>dexter has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/osmo-mgw/+/25219">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">mgcp_ratectr: remove unusued rate counters<br><br>The change I19f67db1c56473f47338b56114f6bbae8981d067 removes the<br>policy_cb and change_cb callback funtions, but it does not remove<br>the related ratecounters.<br><br>Change-Id: I53aa3c890555055466e86b09a359375a10d3be7b<br>---<br>M include/osmocom/mgcp/mgcp_ratectr.h<br>M src/libosmo-mgcp/mgcp_ratectr.c<br>2 files changed, 0 insertions(+), 10 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-mgw refs/changes/19/25219/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/include/osmocom/mgcp/mgcp_ratectr.h b/include/osmocom/mgcp/mgcp_ratectr.h</span><br><span>index 48abc27..c03c4e1 100644</span><br><span>--- a/include/osmocom/mgcp/mgcp_ratectr.h</span><br><span>+++ b/include/osmocom/mgcp/mgcp_ratectr.h</span><br><span>@@ -22,7 +22,6 @@</span><br><span>        MGCP_CRCX_FAIL_ALLOC_CONN,</span><br><span>   MGCP_CRCX_FAIL_NO_REMOTE_CONN_DESC,</span><br><span>  MGCP_CRCX_FAIL_START_RTP,</span><br><span style="color: hsl(0, 100%, 40%);">-       MGCP_CRCX_FAIL_REJECTED_BY_POLICY,</span><br><span>   MGCP_CRCX_FAIL_NO_OSMUX,</span><br><span>     MGCP_CRCX_FAIL_INVALID_CONN_OPTIONS,</span><br><span>         MGCP_CRCX_FAIL_CODEC_NEGOTIATION,</span><br><span>@@ -45,8 +44,6 @@</span><br><span>        MGCP_MDCX_FAIL_INVALID_CONN_OPTIONS,</span><br><span>         MGCP_MDCX_FAIL_NO_REMOTE_CONN_DESC,</span><br><span>  MGCP_MDCX_FAIL_START_RTP,</span><br><span style="color: hsl(0, 100%, 40%);">-       MGCP_MDCX_FAIL_REJECTED_BY_POLICY,</span><br><span style="color: hsl(0, 100%, 40%);">-      MGCP_MDCX_DEFERRED_BY_POLICY,</span><br><span>        MGCP_MDCX_FAIL_AVAIL,</span><br><span> };</span><br><span> </span><br><span>@@ -57,8 +54,6 @@</span><br><span>  MGCP_DLCX_FAIL_INVALID_CALLID,</span><br><span>       MGCP_DLCX_FAIL_INVALID_CONNID,</span><br><span>       MGCP_DLCX_FAIL_UNHANDLED_PARAM,</span><br><span style="color: hsl(0, 100%, 40%);">- MGCP_DLCX_FAIL_REJECTED_BY_POLICY,</span><br><span style="color: hsl(0, 100%, 40%);">-      MGCP_DLCX_DEFERRED_BY_POLICY,</span><br><span>        MGCP_DLCX_FAIL_AVAIL,</span><br><span> };</span><br><span> </span><br><span>diff --git a/src/libosmo-mgcp/mgcp_ratectr.c b/src/libosmo-mgcp/mgcp_ratectr.c</span><br><span>index 3bf079b..040dbb5 100644</span><br><span>--- a/src/libosmo-mgcp/mgcp_ratectr.c</span><br><span>+++ b/src/libosmo-mgcp/mgcp_ratectr.c</span><br><span>@@ -62,7 +62,6 @@</span><br><span>         [MGCP_CRCX_FAIL_NO_REMOTE_CONN_DESC] =</span><br><span>           { "crcx:no_remote_conn_desc", "no opposite end specified for connection." },</span><br><span>         [MGCP_CRCX_FAIL_START_RTP] = { "crcx:start_rtp_failure", "failure to start RTP processing." },</span><br><span style="color: hsl(0, 100%, 40%);">-      [MGCP_CRCX_FAIL_REJECTED_BY_POLICY] = { "crcx:conn_rejected", "connection rejected by policy." },</span><br><span>        [MGCP_CRCX_FAIL_NO_OSMUX] = { "crcx:no_osmux", "no osmux offered by peer." },</span><br><span>    [MGCP_CRCX_FAIL_INVALID_CONN_OPTIONS] = { "crcx:conn_opt", "connection options invalid." },</span><br><span>      [MGCP_CRCX_FAIL_CODEC_NEGOTIATION] = { "crcx:codec_nego", "codec negotiation failure." },</span><br><span>@@ -94,8 +93,6 @@</span><br><span>    [MGCP_MDCX_FAIL_NO_REMOTE_CONN_DESC] =</span><br><span>           { "mdcx:no_remote_conn_desc", "no opposite end specified for connection." },</span><br><span>         [MGCP_MDCX_FAIL_START_RTP] = { "mdcx:start_rtp_failure", "failure to start RTP processing." },</span><br><span style="color: hsl(0, 100%, 40%);">-      [MGCP_MDCX_FAIL_REJECTED_BY_POLICY] = { "mdcx:conn_rejected", "connection rejected by policy." },</span><br><span style="color: hsl(0, 100%, 40%);">-   [MGCP_MDCX_DEFERRED_BY_POLICY] = { "mdcx:conn_deferred", "connection deferred by policy." },</span><br><span>     [MGCP_MDCX_FAIL_AVAIL] = { "mdcx:unavailable", "endpoint unavailable." },</span><br><span> };</span><br><span> </span><br><span>@@ -115,8 +112,6 @@</span><br><span>        [MGCP_DLCX_FAIL_INVALID_CONNID] =</span><br><span>        { "dlcx:connid", "connection ID specified in DLCX command does not exist on endpoint." },</span><br><span>    [MGCP_DLCX_FAIL_UNHANDLED_PARAM] = { "dlcx:unhandled_param", "unhandled parameter in DLCX command." },</span><br><span style="color: hsl(0, 100%, 40%);">-      [MGCP_DLCX_FAIL_REJECTED_BY_POLICY] = { "dlcx:rejected", "connection deletion rejected by policy." },</span><br><span style="color: hsl(0, 100%, 40%);">-       [MGCP_DLCX_DEFERRED_BY_POLICY] = { "dlcx:deferred", "connection deletion deferred by policy." },</span><br><span>         [MGCP_DLCX_FAIL_AVAIL] = { "dlcx:unavailable", "endpoint unavailable." },</span><br><span> };</span><br><span> </span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-mgw/+/25219">change 25219</a>. To unsubscribe, or for help writing mail filters, visit <a href="https://gerrit.osmocom.org/settings">settings</a>.</p><div itemscope itemtype="http://schema.org/EmailMessage"><div itemscope itemprop="action" itemtype="http://schema.org/ViewAction"><link itemprop="url" href="https://gerrit.osmocom.org/c/osmo-mgw/+/25219"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-mgw </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I53aa3c890555055466e86b09a359375a10d3be7b </div>
<div style="display:none"> Gerrit-Change-Number: 25219 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: dexter <pmaier@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>