mirror of
https://github.com/k3s-io/k3s.git
synced 2024-06-07 19:41:36 +00:00
22 lines
436 B
Go
22 lines
436 B
Go
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
|
|
}
|