tpws: --mss

This commit is contained in:
bol-van
2024-03-27 17:48:37 +03:00
parent ed69120539
commit e0250e44af
17 changed files with 121 additions and 5 deletions

View File

@@ -24,6 +24,12 @@ struct bind_s
int bind_wait_ifup,bind_wait_ip,bind_wait_ip_ll;
};
typedef struct
{
uint16_t from,to;
bool neg;
} port_filter;
struct params_s
{
struct bind_s binds[MAX_BINDS];
@@ -55,6 +61,9 @@ struct params_s
uint8_t oob_byte;
int ttl_default;
int mss;
port_filter mss_pf;
char pidfile[256];
strpool *hostlist, *hostlist_exclude;