aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/include/openbsc/gprs_gsup_client.h
diff options
context:
space:
mode:
Diffstat (limited to 'openbsc/include/openbsc/gprs_gsup_client.h')
-rw-r--r--openbsc/include/openbsc/gprs_gsup_client.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_gsup_client.h b/openbsc/include/openbsc/gprs_gsup_client.h
index 89034e00a..1165c4a78 100644
--- a/openbsc/include/openbsc/gprs_gsup_client.h
+++ b/openbsc/include/openbsc/gprs_gsup_client.h
@@ -21,6 +21,10 @@
*/
#pragma once
+#include <osmocom/core/timer.h>
+
+#define GPRS_GSUP_RECONNECT_INTERVAL 10
+
struct msgb;
struct ipa_client_conn;
struct gprs_gsup_client;
@@ -32,6 +36,9 @@ struct gprs_gsup_client {
struct ipa_client_conn *link;
gprs_gsup_read_cb_t read_cb;
void *data;
+
+ struct osmo_timer_list connect_timer;
+ int is_connected;
};
struct gprs_gsup_client *gprs_gsup_client_create(const char *ip_addr,