mirror of
https://github.com/luscis/openlan.git
synced 2025-10-08 01:50:12 +08:00
clone from danieldin95
This commit is contained in:
21
vendor/github.com/vishvananda/netlink/fou.go
generated
vendored
Normal file
21
vendor/github.com/vishvananda/netlink/fou.go
generated
vendored
Normal file
@@ -0,0 +1,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
|
||||
}
|
Reference in New Issue
Block a user