增加对KNI的Watchdog实现双向保活。

This commit is contained in:
luqiuwen
2019-06-18 16:09:20 +08:00
parent cb95cef46d
commit 10ea3ba54e
5 changed files with 218 additions and 2 deletions

View File

@@ -8,6 +8,7 @@
struct ssl_mgr;
struct key_keeper;
struct acceptor_kni_v2;
struct watchdog_kni;
enum TFE_STAT_FIELD
{
@@ -101,6 +102,7 @@ struct tfe_proxy
struct acceptor_kni_v1 * kni_v1_acceptor;
struct acceptor_kni_v2 * kni_v2_acceptor;
struct sender_scm * scm_sender;
struct watchdog_kni * watchdog_kni;
/* DEBUG OPTIONS */
unsigned int tcp_all_passthrough;

View File

@@ -0,0 +1,11 @@
//
// Created by luqiu on 2019/6/18.
//
#ifndef TFE_WATCHDOG_KNI_H
#define TFE_WATCHDOG_KNI_H
struct watchdog_kni;
struct watchdog_kni * watchdog_kni_create(struct tfe_proxy * proxy, const char * profile, void * logger);
#endif //TFE_WATCHDOG_KNI_H