Attention is currently required from: manawyrm, roox, tnt.

laforge uploaded patch set #2 to this change.

View Change

octoi: Send ECHO_REQ every 10s and update the related stat_item

As soon as an OCTOI connection gets into ACTIVE state, send a
ECHO_REQ every 10s and compute the RTT at the time of receiving
the response.

Contrary to the initial idea, the stat item contains the RTT (round trip
time) measured in micro-seconds. Changing this is not a problem as so
far the RTT was always reported as '0', and 0ms == 0us.

Change-Id: Id331319bff1cf6896fee37acc45846a2491ca92d
---
M src/octoi/e1oip.c
M src/octoi/octoi_clnt_fsm.c
M src/octoi/octoi_fsm.c
M src/octoi/octoi_fsm.h
M src/octoi/octoi_srv_fsm.c
5 files changed, 83 insertions(+), 5 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/89/27989/2

To view, visit change 27989. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Id331319bff1cf6896fee37acc45846a2491ca92d
Gerrit-Change-Number: 27989
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge@osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: manawyrm <osmocom.account@tbspace.de>
Gerrit-Reviewer: roox <mardnh@gmx.de>
Gerrit-Reviewer: tnt <tnt@246tNt.com>
Gerrit-Attention: manawyrm <osmocom.account@tbspace.de>
Gerrit-Attention: roox <mardnh@gmx.de>
Gerrit-Attention: tnt <tnt@246tNt.com>
Gerrit-MessageType: newpatchset