Make GSO adaptive

This commit is contained in:
世界
2024-11-22 17:17:01 +08:00
parent 54f0950b0a
commit ca1fe2d8eb
23 changed files with 188 additions and 128 deletions

View File

@@ -10,7 +10,6 @@ type WireGuardEndpointOptions struct {
System bool `json:"system,omitempty"`
Name string `json:"name,omitempty"`
MTU uint32 `json:"mtu,omitempty"`
GSO bool `json:"gso,omitempty"`
Address badoption.Listable[netip.Prefix] `json:"address"`
PrivateKey string `json:"private_key"`
ListenPort uint16 `json:"listen_port,omitempty"`