Make GSO adaptive

This commit is contained in:
世界 2024-11-22 17:17:01 +08:00
parent 0c66888691
commit c4b6d0eadb
No known key found for this signature in database
GPG key ID: CD109927C34A63C4
23 changed files with 177 additions and 124 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"`