Reviewed-by: Maisem Ali <[email protected]> Signed-off-by: Jordan Whited <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>
13 lines
261 B
Go
13 lines
261 B
Go
package tun
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrTooManySegments is returned by Device.Read() when segmentation
|
|
// overflows the length of supplied buffers. This error should not cause
|
|
// reads to cease.
|
|
ErrTooManySegments = errors.New("too many segments")
|
|
)
|