Add definitions guards

This commit is contained in:
Vadim Vetrov 2024-08-05 23:37:45 +03:00
parent 3f1e8d3f01
commit 458780d8a2
No known key found for this signature in database
GPG Key ID: E8A308689D7A73A5

View File

@ -16,7 +16,9 @@
#define FRAG_STRAT_IP 1 #define FRAG_STRAT_IP 1
#define FRAG_STRAT_NONE 2 #define FRAG_STRAT_NONE 2
#ifndef FRAGMENTATION_STRATEGY
#define FRAGMENTATION_STRATEGY FRAG_STRAT_TCP #define FRAGMENTATION_STRATEGY FRAG_STRAT_TCP
#endif
#if FRAGMENTATION_STRATEGY == FRAG_STRAT_TCP #if FRAGMENTATION_STRATEGY == FRAG_STRAT_TCP
#define USE_TCP_SEGMENTATION #define USE_TCP_SEGMENTATION
@ -44,7 +46,9 @@
// Thus, Fake Client Hello will be eliminated automatically. // Thus, Fake Client Hello will be eliminated automatically.
#define FKSN_STRAT_TTL 1 #define FKSN_STRAT_TTL 1
#ifndef FAKE_SNI_STRATEGY
#define FAKE_SNI_STRATEGY FKSN_STRAT_ACK_SEQ #define FAKE_SNI_STRATEGY FKSN_STRAT_ACK_SEQ
#endif
#if !defined(SILENT) && !defined(KERNEL_SPACE) #if !defined(SILENT) && !defined(KERNEL_SPACE)
#define DEBUG #define DEBUG