mirror of
https://github.com/amnezia-vpn/amneziawg-go.git
synced 2025-04-08 01:56:56 +02:00
Reviewed-by: Maisem Ali <maisem@tailscale.com> Signed-off-by: Jordan Whited <jordan@tailscale.com> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
12 lines
261 B
Go
12 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")
|
|
)
|