mirror of
https://github.com/vishvananda/netlink
synced 2024-12-27 17:12:23 +00:00
a01829657b
fou module added a bunch of new attributes in commit
1713cb37bf
which caused the old parsing logic failed, fix and add support for these attrributes.
17 lines
182 B
Go
17 lines
182 B
Go
package netlink
|
|
|
|
import (
|
|
"net"
|
|
)
|
|
|
|
type Fou struct {
|
|
Family int
|
|
Port int
|
|
Protocol int
|
|
EncapType int
|
|
Local net.IP
|
|
Peer net.IP
|
|
PeerPort int
|
|
IfIndex int
|
|
}
|