summaryrefslogtreecommitdiff
path: root/vendor/github.com/vishvananda/netlink/fou.go
blob: 71e73c37a0a33753b5df5d0d4e82d40ead8d4864 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}