diff --git a/nl/link_linux.go b/nl/link_linux.go index 7815cf6..0217a49 100644 --- a/nl/link_linux.go +++ b/nl/link_linux.go @@ -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