mirror of https://github.com/vishvananda/netlink
Add constansts for bridge configuration
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
parent
a59b20a402
commit
8ec30991b3
|
@ -50,6 +50,25 @@ const (
|
|||
IFLA_VXLAN_MAX = IFLA_VXLAN_LOCAL6
|
||||
)
|
||||
|
||||
const (
|
||||
BRIDGE_MODE_UNSPEC = iota
|
||||
BRIDGE_MODE_HAIRPIN = iota
|
||||
)
|
||||
|
||||
const (
|
||||
IFLA_BRPORT_UNSPEC = iota
|
||||
IFLA_BRPORT_STATE = iota
|
||||
IFLA_BRPORT_PRIORITY = iota
|
||||
IFLA_BRPORT_COST = iota
|
||||
IFLA_BRPORT_MODE = iota
|
||||
IFLA_BRPORT_GUARD = iota
|
||||
IFLA_BRPORT_PROTECT = iota
|
||||
IFLA_BRPORT_FAST_LEAVE = iota
|
||||
IFLA_BRPORT_LEARNING = iota
|
||||
IFLA_BRPORT_UNICAST_FLOOD = iota
|
||||
IFLA_BRPORT_MAX = IFLA_BRPORT_UNICAST_FLOOD
|
||||
)
|
||||
|
||||
const (
|
||||
// not defined in syscall
|
||||
IFLA_NET_NS_FD = 28
|
||||
|
|
Loading…
Reference in New Issue