Add connbytes to kernel module

This commit is contained in:
Vadim Vetrov
2024-12-08 22:08:57 +03:00
parent 457a7a7f04
commit 42e6d574a0
4 changed files with 51 additions and 0 deletions

View File

@@ -100,6 +100,8 @@ struct config_t {
int noclose;
int syslog;
int connbytes_limit;
#define VERBOSE_INFO 0
#define VERBOSE_DEBUG 1
#define VERBOSE_TRACE 2
@@ -241,6 +243,7 @@ enum {
.queue_start_num = DEFAULT_QUEUE_NUM, \
.mark = DEFAULT_RAWSOCKET_MARK, \
.use_ipv6 = 1, \
.connbytes_limit = 8, \
\
.verbose = VERBOSE_DEBUG, \
.use_gso = 1, \