diff options
| author | yangwei <[email protected]> | 2024-04-03 14:23:52 +0800 |
|---|---|---|
| committer | yangwei <[email protected]> | 2024-04-03 15:43:47 +0800 |
| commit | 97cc3158b48973d96d451fc9cc52011ccba43d16 (patch) | |
| tree | 9089d4ada74ecbd998b23df787b5a4efc922f268 /include | |
| parent | 61ced1df7e02f9022a0f18ddb0515a0e7193a3a0 (diff) | |
✨ feat(bloom library): choose in sapp.tomlFeature-ap-bloom
Diffstat (limited to 'include')
| -rw-r--r-- | include/private/sapp_global_val.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/private/sapp_global_val.h b/include/private/sapp_global_val.h index 5e6013f..c2044fe 100644 --- a/include/private/sapp_global_val.h +++ b/include/private/sapp_global_val.h @@ -205,15 +205,22 @@ 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{ |
