From ad61166674e0349048bdaf44fa7e2fb89c299cf0 Mon Sep 17 00:00:00 2001 From: yangwei Date: Sat, 20 Apr 2024 19:15:01 +0800 Subject: Revert "✨ feat(bloom library): choose in sapp.toml" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 97cc3158b48973d96d451fc9cc52011ccba43d16. --- include/private/sapp_global_val.h | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'include') diff --git a/include/private/sapp_global_val.h b/include/private/sapp_global_val.h index bb7905f..b02c654 100644 --- a/include/private/sapp_global_val.h +++ b/include/private/sapp_global_val.h @@ -209,22 +209,15 @@ typedef struct{ }sapp_config_packet_io_tunnel_t; -enum bloom_library{ - BLOOM_LIBRARY_NONE=0, - BLOOM_LIBRARY_DABLOOM, - BLOOM_LIBRARY_APBLOOM, -}; - typedef struct{ int kickout_udp_stream_enabled; int dup_pkt_distinguish_all_inject; int dup_pkt_distinguish_ipv4_tcp; int dup_pkt_distinguish_ipv4_udp; int bloom_capacity; + double bloom_error_rate; int bloom_timeout; int bloom_slice_num; - enum bloom_library bloom_library; - double bloom_error_rate; }sapp_dup_pkt_t; typedef struct{ -- cgit v1.2.3