altcp: support for setting keepalive parameters

This commit is contained in:
David Girault
2018-08-28 16:23:20 +02:00
committed by Simon Goldschmidt
parent b298afabdc
commit b04d8a6a6c
5 changed files with 88 additions and 0 deletions

View File

@@ -1256,6 +1256,10 @@ const struct altcp_functions altcp_mbedtls_functions = {
altcp_default_get_tcp_addrinfo,
altcp_default_get_ip,
altcp_default_get_port
#if LWIP_TCP_KEEPALIVE
, altcp_default_keepalive_disable
, altcp_default_keepalive_enable
#endif
#ifdef LWIP_DEBUG
, altcp_default_dbg_get_tcp_state
#endif