mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-07-25 03:34:58 +00:00
Moves vendoring over to Go modules. Fixes issues found by Go Vet in Go 1.16 Signed-off-by: Dave Tucker <dave@dtucker.co.uk>
22 lines
436 B
Go
Vendored
22 lines
436 B
Go
Vendored
package netlink
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
var (
|
|
// ErrAttrHeaderTruncated is returned when a netlink attribute's header is
|
|
// truncated.
|
|
ErrAttrHeaderTruncated = errors.New("attribute header truncated")
|
|
// ErrAttrBodyTruncated is returned when a netlink attribute's body is
|
|
// truncated.
|
|
ErrAttrBodyTruncated = errors.New("attribute body truncated")
|
|
)
|
|
|
|
type Fou struct {
|
|
Family int
|
|
Port int
|
|
Protocol int
|
|
EncapType int
|
|
}
|