Files
weave-scope/vendor/github.com/vishvananda/netlink/fou.go
Bryan Boreham a883e93080 Vendor: add vishvananda/netns and netlink
We will use them to fetch IP addresses from container namespaces

Required an update to golang.org/x/sys/unix
2018-06-02 21:45:17 +00:00

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
}