Add tun platform options

This commit is contained in:
世界 2023-02-28 19:02:27 +08:00
parent ed50257735
commit 7834d6bca7
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
12 changed files with 213 additions and 26 deletions

View file

@ -19,5 +19,6 @@ type TunInboundOptions struct {
EndpointIndependentNat bool `json:"endpoint_independent_nat,omitempty"`
UDPTimeout int64 `json:"udp_timeout,omitempty"`
Stack string `json:"stack,omitempty"`
Platform *TunPlatformOptions `json:"platform,omitempty"`
InboundOptions
}