Add custom wireguard worker size option

This commit is contained in:
世界
2022-11-07 16:35:15 +08:00
parent 1f63ce5dee
commit 999a847e86
15 changed files with 87 additions and 78 deletions

View File

@@ -12,7 +12,7 @@ import (
M "github.com/sagernet/sing/common/metadata"
N "github.com/sagernet/sing/common/network"
"golang.zx2c4.com/wireguard/tun"
"github.com/sagernet/wireguard-go/tun"
"gvisor.dev/gvisor/pkg/bufferv2"
"gvisor.dev/gvisor/pkg/tcpip"
"gvisor.dev/gvisor/pkg/tcpip/adapters/gonet"