stack: Add icmp timeout

This commit is contained in:
世界 2026-06-01 17:40:28 +08:00
parent 568357315c
commit bebc8d67f3
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
3 changed files with 7 additions and 2 deletions

View file

@ -28,6 +28,7 @@ type StackOptions struct {
Tun Tun
TunOptions Options
UDPTimeout time.Duration
ICMPTimeout time.Duration
Handler Handler
Logger logger.Logger
ForwarderBindInterface bool