mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-10-05 08:37:03 +08:00
Improve darwin tun performance
This commit is contained in:
@@ -40,6 +40,7 @@ type GVisor struct {
|
||||
|
||||
type GVisorTun interface {
|
||||
Tun
|
||||
WritePacket(pkt *stack.PacketBuffer) (int, error)
|
||||
NewEndpoint() (stack.LinkEndpoint, stack.NICOptions, error)
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user