废除 tfe-kmod, tfe 直接与 kni 通信
* 新增 enable_kni_v3=1 配置项 * develop_build_release 分支关闭 ASAN 检测 * 修正根据 CMSG 恢复 TCP 链接时没有正确填写 TCP 时间戳启用选项的问题
This commit is contained in:
7
platform/include/internal/acceptor_kni_v3.h
Normal file
7
platform/include/internal/acceptor_kni_v3.h
Normal file
@@ -0,0 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
struct tfe_proxy;
|
||||
struct acceptor_kni_v3;
|
||||
|
||||
struct acceptor_kni_v3 *acceptor_kni_v3_create(struct tfe_proxy *proxy, const char *profile, void *logger);
|
||||
void acceptor_kni_v3_destroy(struct acceptor_kni_v3 *ctx);
|
||||
@@ -111,9 +111,11 @@ struct tfe_proxy
|
||||
|
||||
unsigned int en_kni_v1_acceptor;
|
||||
unsigned int en_kni_v2_acceptor;
|
||||
unsigned int en_kni_v3_acceptor;
|
||||
|
||||
struct acceptor_kni_v1 * kni_v1_acceptor;
|
||||
struct acceptor_kni_v2 * kni_v2_acceptor;
|
||||
struct acceptor_kni_v3 * kni_v3_acceptor;
|
||||
struct sender_scm * scm_sender;
|
||||
struct watchdog_kni * watchdog_kni;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user