summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/bridge.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/netdev/bridge.h')
-rw-r--r--src/network/netdev/bridge.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/network/netdev/bridge.h b/src/network/netdev/bridge.h
index d6abda99e8..f3276c5c41 100644
--- a/src/network/netdev/bridge.h
+++ b/src/network/netdev/bridge.h
@@ -7,6 +7,9 @@
#include "conf-parser.h"
#include "netdev.h"
+#define LINK_BRIDGE_PORT_PRIORITY_INVALID 128
+#define LINK_BRIDGE_PORT_PRIORITY_MAX 63
+
typedef struct Bridge {
NetDev meta;
@@ -45,3 +48,4 @@ MulticastRouter multicast_router_from_string(const char *s) _pure_;
CONFIG_PARSER_PROTOTYPE(config_parse_multicast_router);
CONFIG_PARSER_PROTOTYPE(config_parse_bridge_igmp_version);
+CONFIG_PARSER_PROTOTYPE(config_parse_bridge_port_priority);