From ad8f042c319ce4af5fd3ab711849a72025eea3e8 Mon Sep 17 00:00:00 2001 From: Eric Wild Date: Wed, 10 Jul 2019 18:10:31 +0200 Subject: add ipa ping/pong keepalive for OML/RSL links between bts and bsc Patch-by: ewild, osmith Change-Id: I30e3bd601e55355aaf738ee2f2c44c1ec2c46c6a Depends: (libosmo-abis) Ie453fdee8bfd7fc1a3f1ed67ef0331f0abb1d59b --- include/osmocom/abis/e1_input.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/osmocom/abis/e1_input.h b/include/osmocom/abis/e1_input.h index 00b4aaa..4362f50 100644 --- a/include/osmocom/abis/e1_input.h +++ b/include/osmocom/abis/e1_input.h @@ -123,6 +123,8 @@ struct e1inp_ts { struct { /* ip.access driver has one fd for each ts */ struct osmo_fd fd; + /* ipa keep-alive */ + struct osmo_fsm_inst* ka_fsm; } ipaccess; struct { /* DAHDI driver has one fd for each ts */ @@ -197,11 +199,14 @@ struct e1inp_line { char *sock_path; struct rate_ctr_group *rate_ctr; - /* keepalive configuration */ + /* tcp keepalive configuration */ int keepalive_num_probes; /* 0: disable, num, or E1INP_USE_DEFAULT */ int keepalive_idle_timeout; /* secs, or E1INP_USE_DEFAULT */ int keepalive_probe_interval; /* secs or E1INP_USE_DEFAULT */ + /* ipa ping/pong keepalive params */ + struct ipa_keepalive_params *ipa_kap; + /* array of timestlots */ struct e1inp_ts ts[NUM_E1_TS]; unsigned int num_ts; -- cgit v1.2.3