Copy TCP GRO probe from tailscale
This commit is contained in:
parent
6ef42f019b
commit
c177abb523
2 changed files with 49 additions and 16 deletions
2
tun.go
2
tun.go
|
|
@ -40,8 +40,6 @@ type LinuxTUN interface {
|
|||
BatchSize() int
|
||||
BatchRead(buffers [][]byte, offset int, readN []int) (n int, err error)
|
||||
BatchWrite(buffers [][]byte, offset int) (n int, err error)
|
||||
DisableUDPGRO()
|
||||
DisableTCPGRO()
|
||||
TXChecksumOffload() bool
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue