summaryrefslogtreecommitdiff
path: root/lib/orr_msg.h
diff options
context:
space:
mode:
authorMadhuri Kuruganti <maduri111@gmail.com>2022-09-12 19:57:20 +0530
committerMadhuri Kuruganti <maduri111@gmail.com>2022-10-12 13:43:55 +0530
commit9f2984d97c2e23198db47d39a725f3c50d2ee0ed (patch)
tree2e789c93803bcf8cb8186f194dd12ccd7353ca3c /lib/orr_msg.h
parentd6b2761134352ad22acac6cc39acd70bd0c21ad4 (diff)
ospfd: few fixes in rSPF calc when LSA received from non root node
Signed-off-by: Madhuri Kuruganti <maduri111@gmail.com>
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;