diff options
author | Eric Wild <ewild@sysmocom.de> | 2019-07-10 18:10:31 +0200 |
---|---|---|
committer | Oliver Smith <osmith@sysmocom.de> | 2020-01-22 11:40:30 +0100 |
commit | ad8f042c319ce4af5fd3ab711849a72025eea3e8 (patch) | |
tree | 612858c2d0797898ddf5421a6ea6dcf1d175c707 /include | |
parent | 65ae42c62c65dcabfeae7877d347dab7728fcfff (diff) |
add ipa ping/pong keepalive for OML/RSL links between bts and bscosmith/pingpong
Patch-by: ewild, osmith
Change-Id: I30e3bd601e55355aaf738ee2f2c44c1ec2c46c6a
Depends: (libosmo-abis) Ie453fdee8bfd7fc1a3f1ed67ef0331f0abb1d59b
Diffstat (limited to 'include')
-rw-r--r-- | include/osmocom/abis/e1_input.h | 7 |
1 files changed, 6 insertions, 1 deletions
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; |