diff options
Diffstat (limited to 'openbsc/include/openbsc/gprs_gsup_client.h')
-rw-r--r-- | openbsc/include/openbsc/gprs_gsup_client.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openbsc/include/openbsc/gprs_gsup_client.h b/openbsc/include/openbsc/gprs_gsup_client.h index 1165c4a78..9537db4c7 100644 --- a/openbsc/include/openbsc/gprs_gsup_client.h +++ b/openbsc/include/openbsc/gprs_gsup_client.h @@ -24,6 +24,7 @@ #include <osmocom/core/timer.h> #define GPRS_GSUP_RECONNECT_INTERVAL 10 +#define GPRS_GSUP_PING_INTERVAL 20 struct msgb; struct ipa_client_conn; @@ -37,8 +38,10 @@ struct gprs_gsup_client { gprs_gsup_read_cb_t read_cb; void *data; + struct osmo_timer_list ping_timer; struct osmo_timer_list connect_timer; int is_connected; + int got_ipa_pong; }; struct gprs_gsup_client *gprs_gsup_client_create(const char *ip_addr, |