summaryrefslogtreecommitdiff
path: root/lib/nexthop.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/nexthop.h')
-rw-r--r--lib/nexthop.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/nexthop.h b/lib/nexthop.h
index 72a4acedb2..040b643a84 100644
--- a/lib/nexthop.h
+++ b/lib/nexthop.h
@@ -110,6 +110,9 @@ struct nexthop {
/* Label(s) associated with this nexthop. */
struct mpls_label_stack *nh_label;
+
+ /* Weight of the nexthop ( for unequal cost ECMP ) */
+ uint8_t weight;
};
struct nexthop *nexthop_new(void);