summaryrefslogtreecommitdiff
path: root/nest/route.h
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2016-08-09 14:47:51 +0200
committerJan Moskyto Matejka <mq@ucw.cz>2016-12-22 21:38:33 +0100
commitd47c3d64b2733baea756f1bb37ef09f10d7f9644 (patch)
tree8812e0275fb076e0a0b3cf53b876b651ca29e7d7 /nest/route.h
parentd14f8c3c45f7e33a7e54ebc0d45bdb0295d70301 (diff)
MPLS: Label stack concatenation for recursive routes
Diffstat (limited to 'nest/route.h')
-rw-r--r--nest/route.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/nest/route.h b/nest/route.h
index a2fadf62..eb98b609 100644
--- a/nest/route.h
+++ b/nest/route.h
@@ -338,7 +338,8 @@ struct nexthop {
struct iface *iface; /* Outgoing interface */
struct nexthop *next;
byte weight;
- byte labels; /* Number of labels appended */
+ byte labels_append; /* Number of labels before hostentry was applied */
+ byte labels; /* Number of labels prepended */
u32 label[0];
};