<p>Harald Welte has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/13477">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">sccp_scoc: Add more comments describing conn_id and local_ref members<br><br>Change-Id: I85cabc42621103de1a83282baf210fbc117b63db<br>---<br>M src/sccp_scoc.c<br>1 file changed, 8 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmo-sccp refs/changes/77/13477/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/sccp_scoc.c b/src/sccp_scoc.c</span><br><span>index cb1d567..e58251f 100644</span><br><span>--- a/src/sccp_scoc.c</span><br><span>+++ b/src/sccp_scoc.c</span><br><span>@@ -83,7 +83,15 @@</span><br><span>  /* local/remote addresses and identiies */</span><br><span>   struct osmo_sccp_addr calling_addr;</span><br><span>  struct osmo_sccp_addr called_addr;</span><br><span style="color: hsl(120, 100%, 40%);">+    /* SCCP connection identifier. Only relevant across the SCCP User SAP,</span><br><span style="color: hsl(120, 100%, 40%);">+         * i.e. between the local application using the SCCP stack provided by</span><br><span style="color: hsl(120, 100%, 40%);">+         * libosmo-sccp.  Never transmitted over the wire! */</span><br><span>        uint32_t conn_id;</span><br><span style="color: hsl(120, 100%, 40%);">+     /* SCCP Remote Connection Reference.  Allocated by the remote</span><br><span style="color: hsl(120, 100%, 40%);">+  * SCCP stack to uniquely identify a SCCP connection on its end.</span><br><span style="color: hsl(120, 100%, 40%);">+       * We don't interpret it, but simply cache it here so we can use</span><br><span style="color: hsl(120, 100%, 40%);">+   * it whever sending data to the peer. Only relevant over the</span><br><span style="color: hsl(120, 100%, 40%);">+  * wire, not to be used across the SCCP user SAP */</span><br><span>  uint32_t remote_ref;</span><br><span> </span><br><span>     uint32_t importance;</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/13477">change 13477</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/13477"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmo-sccp </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>
<div style="display:none"> Gerrit-Change-Id: I85cabc42621103de1a83282baf210fbc117b63db </div>
<div style="display:none"> Gerrit-Change-Number: 13477 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Harald Welte <laforge@gnumonks.org> </div>