mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-02-06 00:10:38 +00:00
18 lines
774 B
Go
18 lines
774 B
Go
package option
|
|
|
|
import (
|
|
"net/netip"
|
|
|
|
"github.com/sagernet/sing/common/json/badoption"
|
|
)
|
|
|
|
type NDISInboundOptions struct {
|
|
Network NetworkList `json:"network,omitempty"`
|
|
RouteAddress badoption.Listable[netip.Prefix] `json:"route_address,omitempty"`
|
|
RouteAddressSet badoption.Listable[string] `json:"route_address_set,omitempty"`
|
|
RouteExcludeAddress badoption.Listable[netip.Prefix] `json:"route_exclude_address,omitempty"`
|
|
RouteExcludeAddressSet badoption.Listable[string] `json:"route_exclude_address_set,omitempty"`
|
|
InterfaceName string `json:"interface_name,omitempty"`
|
|
UDPTimeout UDPTimeoutCompat `json:"udp_timeout,omitempty"`
|
|
}
|