summaryrefslogtreecommitdiff
path: root/lib/orr_msg.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/orr_msg.h')
-rw-r--r--lib/orr_msg.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/orr_msg.h b/lib/orr_msg.h
index 03f92ef125..ec13df61bb 100644
--- a/lib/orr_msg.h
+++ b/lib/orr_msg.h
@@ -26,7 +26,8 @@ extern "C" {
#endif
/* REVISIT: Need to check if we can use zero length array */
-#define ORR_MAX_PREFIX 100
+#define ORR_MAX_PREFIX 100
+#define ORR_GROUP_NAME_SIZE 32
struct orr_prefix_metric {
struct prefix prefix;
@@ -39,6 +40,7 @@ struct orr_igp_metric_reg {
uint8_t proto;
safi_t safi;
struct prefix prefix;
+ char group_name[ORR_GROUP_NAME_SIZE];
};
/* IGP-BGP message structures */
@@ -60,6 +62,8 @@ struct orr_root {
afi_t afi;
safi_t safi;
+ char group_name[ORR_GROUP_NAME_SIZE];
+
/* MPLS_TE prefix and router ID */
struct prefix prefix;
struct in_addr router_id;