Add constansts for bridge configuration

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-02-09 12:36:58 -08:00
parent a59b20a402
commit 8ec30991b3
1 changed files with 19 additions and 0 deletions

View File

@ -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