Improve darwin tun performance

This commit is contained in:
世界
2025-07-17 17:33:41 +08:00
parent 7812930a48
commit aa1fd4d994
16 changed files with 192 additions and 115 deletions

View File

@@ -40,6 +40,7 @@ type GVisor struct {
type GVisorTun interface {
Tun
WritePacket(pkt *stack.PacketBuffer) (int, error)
NewEndpoint() (stack.LinkEndpoint, stack.NICOptions, error)
}