mirror of
https://github.com/SagerNet/sing-tun.git
synced 2025-04-01 02:47:39 +03:00
10 lines
253 B
Go
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")
|