<p>lynxis lazus has uploaded this change for <strong>review</strong>.</p><p><a href="https://gerrit.osmocom.org/c/libosmocore/+/22294">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">WIP: gprs_ns2_vc_fsm: log all receiving PDUs<br><br>what about other Rx packets? (new connection) also what about<br>dropped Rx?<br><br>Change-Id: I34b8fde2955ecc010d1dcd9512e1bba9211e2c0d<br>---<br>M src/gb/gprs_ns2_vc_fsm.c<br>1 file changed, 7 insertions(+), 0 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/94/22294/1</pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;"><span>diff --git a/src/gb/gprs_ns2_vc_fsm.c b/src/gb/gprs_ns2_vc_fsm.c</span><br><span>index 79a0d4a..3a51a1f 100644</span><br><span>--- a/src/gb/gprs_ns2_vc_fsm.c</span><br><span>+++ b/src/gb/gprs_ns2_vc_fsm.c</span><br><span>@@ -756,6 +756,13 @@</span><br><span>               }</span><br><span>    }</span><br><span> </span><br><span style="color: hsl(120, 100%, 40%);">+ if (nsvc->nsvci_is_valid)</span><br><span style="color: hsl(120, 100%, 40%);">+          LOGP(DLNS, LOGL_INFO, "NSEI=%05u Rx %s (NSVCI=%05u)\n",</span><br><span style="color: hsl(120, 100%, 40%);">+                  nsvc->nse->nsei, get_value_string(gprs_ns_pdu_strings, nsh->pdu_type), nsvc->nsvci);</span><br><span style="color: hsl(120, 100%, 40%);">+ else</span><br><span style="color: hsl(120, 100%, 40%);">+          LOGP(DLNS, LOGL_INFO, "NSEI=%05u Rx %s\n",</span><br><span style="color: hsl(120, 100%, 40%);">+               nsvc->nse->nsei, get_value_string(gprs_ns_pdu_strings, nsh->pdu_type));</span><br><span style="color: hsl(120, 100%, 40%);">+</span><br><span>      switch (nsh->pdu_type) {</span><br><span>  case NS_PDUT_RESET:</span><br><span>          osmo_fsm_inst_dispatch(fi, GPRS_NS2_EV_RX_RESET, tp);</span><br><span></span><br></pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/libosmocore/+/22294">change 22294</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/libosmocore/+/22294"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: libosmocore </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: I34b8fde2955ecc010d1dcd9512e1bba9211e2c0d </div>
<div style="display:none"> Gerrit-Change-Number: 22294 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: lynxis lazus <lynxis@fe80.eu> </div>
<div style="display:none"> Gerrit-MessageType: newchange </div>