summaryrefslogtreecommitdiff
path: root/platform/include
diff options
context:
space:
mode:
authorluwenpeng <[email protected]>2022-12-19 14:14:30 +0800
committerluwenpeng <[email protected]>2022-12-23 13:56:19 +0800
commit42dded52ac976619359239e477f495f3fefd47ad (patch)
tree3d924830429c9ebdb0adcaa3112d966f0c3492d3 /platform/include
parentc1d9a1ab0f6a0057c93818a6593f2e64e6bda9e5 (diff)
TSG-13075 TFE的Decrypted Traffic Steering功能增加第三方设备保活检查
Diffstat (limited to 'platform/include')
-rw-r--r--platform/include/internal/proxy.h1
-rw-r--r--platform/include/internal/watchdog_3rd_device.h8
2 files changed, 9 insertions, 0 deletions
diff --git a/platform/include/internal/proxy.h b/platform/include/internal/proxy.h
index 970a6d1..aeecee5 100644
--- a/platform/include/internal/proxy.h
+++ b/platform/include/internal/proxy.h
@@ -129,6 +129,7 @@ struct tfe_proxy
struct sender_scm * scm_sender;
struct watchdog_kni * watchdog_kni;
struct watchdog_tfe * watchdog_tfe;
+ struct watchdog_3rd_device * watchdog_3rd_device;
/* DEBUG OPTIONS */
unsigned int tcp_all_passthrough;
diff --git a/platform/include/internal/watchdog_3rd_device.h b/platform/include/internal/watchdog_3rd_device.h
new file mode 100644
index 0000000..12727e7
--- /dev/null
+++ b/platform/include/internal/watchdog_3rd_device.h
@@ -0,0 +1,8 @@
+#ifndef TFE_WATCHDOG_3RD_H
+#define TFE_WATCHDOG_3RD_H
+
+struct watchdog_3rd_device;
+struct watchdog_3rd_device *watchdog_3rd_device_create(struct tfe_proxy *proxy, const char *profile, void *logger);
+int steering_device_is_available();
+
+#endif \ No newline at end of file