mirror of
https://github.com/qdm12/gluetun.git
synced 2026-08-05 03:43:24 +02:00
feat(wireguard): WIREGUARD_GSO option to disable TUN vnet hdr batching (#3424)
This commit is contained in:
@@ -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")
|
||||
}
|
||||
Reference in New Issue
Block a user