mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-25 01:51:29 +00:00
14 lines
623 B
Go
14 lines
623 B
Go
package option
|
|
|
|
type TunInboundOptions struct {
|
|
InterfaceName string `json:"interface_name,omitempty"`
|
|
MTU uint32 `json:"mtu,omitempty"`
|
|
Inet4Address *ListenPrefix `json:"inet4_address,omitempty"`
|
|
Inet6Address *ListenPrefix `json:"inet6_address,omitempty"`
|
|
AutoRoute bool `json:"auto_route,omitempty"`
|
|
EndpointIndependentNat bool `json:"endpoint_independent_nat,omitempty"`
|
|
UDPTimeout int64 `json:"udp_timeout,omitempty"`
|
|
Stack string `json:"stack,omitempty"`
|
|
InboundOptions
|
|
}
|