<p>pespin <strong>uploaded patch set #2</strong> to this change.</p><p><a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/15267">View Change</a></p><pre style="font-family: monospace,monospace; white-space: pre-wrap;">ggsn: Implement echo req/resp and recovery<br><br>This patch is quite big because implementing echo req/resp and recovery<br>requires having knowledge and managing differntiated state for each GSN<br>peer attached/connected to osmo-ggsn. This kind of information was not<br>available in osmo-ggsn nor in libgtp.<br><br>So osmo-ggsn is now able to track GSN peers connected to a<br>ggsn_ctx (associated gsn_t from libgtp) by means of "sgsn_peer" data<br>structure, and accessible from the ggsn through a list. The instances of<br>sgsn_peer are currently allocated and destroyed dynamically based on<br>discovered peer who have at least a pdp context attached to us (we are<br>not interested in peers without pdp contexts because we don't need o<br>send echo requests/responses and maintain state in that case).<br><br>A new private pointer (pdp_t->priv) data structure struct pdp_priv_t is<br>added to be able to relate a pdp_t to an sgsn as well as the already<br>existing pointer to an apn.<br><br>An "echo-interval <0-36000>" VTY command is added which allows<br>configuring time wait between echo requests being sent to each<br>sgsn_peer. Transmission of echo requests is disabled by default.<br><br>Finally, a new "show sgsn" VTY command is introduced, and its output is<br>also printed during "show ggsn".<br><br>Related: OS#4165<br>Change-Id: Id2c84165dc59dff495106758146a701ca488834f<br>---<br>M ggsn/Makefile.am<br>M ggsn/ggsn.c<br>M ggsn/ggsn.h<br>M ggsn/ggsn_vty.c<br>A ggsn/sgsn.c<br>A ggsn/sgsn.h<br>6 files changed, 377 insertions(+), 11 deletions(-)<br><br></pre><pre style="font-family: monospace,monospace; white-space: pre-wrap;">git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/67/15267/2</pre><p>To view, visit <a href="https://gerrit.osmocom.org/c/osmo-ggsn/+/15267">change 15267</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-ggsn/+/15267"/><meta itemprop="name" content="View Change"/></div></div>

<div style="display:none"> Gerrit-Project: osmo-ggsn </div>
<div style="display:none"> Gerrit-Branch: master </div>
<div style="display:none"> Gerrit-Change-Id: Id2c84165dc59dff495106758146a701ca488834f </div>
<div style="display:none"> Gerrit-Change-Number: 15267 </div>
<div style="display:none"> Gerrit-PatchSet: 2 </div>
<div style="display:none"> Gerrit-Owner: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-Reviewer: Jenkins Builder </div>
<div style="display:none"> Gerrit-Reviewer: pespin <pespin@sysmocom.de> </div>
<div style="display:none"> Gerrit-MessageType: newpatchset </div>