Improve darwin tun performance
This commit is contained in:
parent
7812930a48
commit
aa1fd4d994
16 changed files with 192 additions and 115 deletions
|
|
@ -40,6 +40,7 @@ type GVisor struct {
|
|||
|
||||
type GVisorTun interface {
|
||||
Tun
|
||||
WritePacket(pkt *stack.PacketBuffer) (int, error)
|
||||
NewEndpoint() (stack.LinkEndpoint, stack.NICOptions, error)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue