增加设置upstream, downstream的TTL或MaxHop功能,便于在捕获的报文中区分上、下行连接。
This commit is contained in:
@@ -32,6 +32,7 @@ enum TFE_STAT_FIELD
|
||||
|
||||
struct tfe_proxy_tcp_options
|
||||
{
|
||||
/* TCP OPTIONS */
|
||||
int sz_rcv_buffer;
|
||||
int sz_snd_buffer;
|
||||
int so_keepalive;
|
||||
@@ -39,6 +40,10 @@ struct tfe_proxy_tcp_options
|
||||
int tcp_keepintvl;
|
||||
int tcp_keepcnt;
|
||||
int tcp_user_timeout;
|
||||
|
||||
/* TRACE FOR DEBUG */
|
||||
int tcp_ttl_upstream;
|
||||
int tcp_ttl_downstream;
|
||||
};
|
||||
|
||||
struct tfe_proxy_accept_para
|
||||
|
||||
Reference in New Issue
Block a user