sing-tun/tun_offload_errors.go
2024-11-23 12:58:52 +08:00

10 lines
253 B
Go

package tun
import (
"errors"
)
// ErrTooManySegments is returned by Device.Read() when segmentation
// overflows the length of supplied buffers. This error should not cause
// reads to cease.
var ErrTooManySegments = errors.New("too many segments")