feat(wireguard): WIREGUARD_GSO option to disable TUN vnet hdr batching (#3424)

This commit is contained in:
Tyler MacDonald
2026-08-04 21:31:22 -04:00
committed by GitHub
parent 297d6480d0
commit 0186f2ff4a
20 changed files with 260 additions and 11 deletions
+17
View File
@@ -0,0 +1,17 @@
//go:build !linux
package wireguard
import (
"os"
"golang.zx2c4.com/wireguard/tun"
)
func createTUN(name string, mtu int, _ bool) (tun.Device, error) { //nolint:ireturn
return tun.CreateTUN(name, mtu)
}
func OpenTUNFile(_ string) (*os.File, error) {
panic("not implemented")
}