<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/12862">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">OML: some more comments on what functions do<br><br>Change-Id: I5f30f6c556968fab60283ff1948966af28dc6e83<br>---<br>M src/common/oml.c<br>1 file changed, 6 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-bts refs/changes/62/12862/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/common/oml.c b/src/common/oml.c</span><br><span>index 41debc1..ce59865 100644</span><br><span>--- a/src/common/oml.c</span><br><span>+++ b/src/common/oml.c</span><br><span>@@ -102,6 +102,7 @@</span><br><span>         talloc_free(rep);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* Push OM header in front of msgb and send it */</span><br><span> int oml_send_msg(struct msgb *msg, int is_manuf)</span><br><span> {</span><br><span>       struct abis_om_hdr *omh;</span><br><span>@@ -363,6 +364,8 @@</span><br><span>       return rc;</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* Send an ACK or NACK response from 'mo' to BSC, deriving message</span><br><span style="color: hsl(120, 100%, 40%);">+ * type from 'orig_msg_type'. ACK is sent if cause == 0; NACK otherwise */</span><br><span> int oml_mo_fom_ack_nack(struct gsm_abis_mo *mo, uint8_t orig_msg_type,</span><br><span>                        uint8_t cause)</span><br><span> {</span><br><span>@@ -417,6 +420,9 @@</span><br><span>    return oml_mo_fom_ack_nack(mo, NM_MT_OPSTART, nack_cause);</span><br><span> }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+/* Send an ACK or NACK response for 'msg' to BSC, deriving message</span><br><span style="color: hsl(120, 100%, 40%);">+ * type, obj class, obj inst from 'msg' and copying all attributes</span><br><span style="color: hsl(120, 100%, 40%);">+ * contained in 'msg'. ACK is sent if cause == 0; NACK otherwise */</span><br><span> int oml_fom_ack_nack(struct msgb *old_msg, uint8_t cause)</span><br><span> {</span><br><span>   struct abis_om_hdr *old_oh = msgb_l2(old_msg);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/12862">change 12862</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/12862"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-bts </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I5f30f6c556968fab60283ff1948966af28dc6e83 </div>
<div style="display:none"> Gerrit-Change-Number: 12862 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>