pespin has uploaded this change for review.

View Change

gtp: Log retrans queue register&free entries

Change-Id: I4e12376652fc7a6a96fbdcb579dbe916c1473012
---
M gtp/gtp.c
1 file changed, 4 insertions(+), 0 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-ggsn refs/changes/17/27417/1
diff --git a/gtp/gtp.c b/gtp/gtp.c
index 608e5f9..9cbeaa8 100644
--- a/gtp/gtp.c
+++ b/gtp/gtp.c
@@ -633,6 +633,8 @@
LOGP(DLGTP, LOGL_ERROR, "Retransmit req queue is full (seq=%" PRIu16 ")\n",
gsn->seq_next);
} else {
+ LOGP(DLGTP, LOGL_DEBUG, "Registering seq=% " PRIu16
+ " in restransmit req queue\n", gsn->seq_next);
memcpy(&qmsg->p, packet, sizeof(union gtp_packet));
qmsg->l = len;
qmsg->timeout = time(NULL) + T3_REQUEST; /* When to timeout */
@@ -761,6 +763,8 @@
LOGP(DLGTP, LOGL_ERROR, "Retransmit resp queue is full (seq=%" PRIu16 ")\n",
seq);
} else {
+ LOGP(DLGTP, LOGL_DEBUG, "Registering seq=% " PRIu16
+ " in restransmit resp queue\n", seq);
memcpy(&qmsg->p, packet, sizeof(union gtp_packet));
qmsg->l = len;
qmsg->timeout = time(NULL) + 60; /* When to timeout */

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

Gerrit-Project: osmo-ggsn
Gerrit-Branch: master
Gerrit-Change-Id: I4e12376652fc7a6a96fbdcb579dbe916c1473012
Gerrit-Change-Number: 27417
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin@sysmocom.de>
Gerrit-MessageType: newchange