summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_memory.c
diff options
context:
space:
mode:
authorKaushik <kaushik@niralnetworks.com>2020-11-09 07:51:29 -0800
committerKaushik <kaushik@niralnetworks.com>2020-12-09 13:27:23 +0530
commita069482f1f2be372867fbdf9ebc7e26e128a48ae (patch)
tree7863a7dcafb378757a13314e2658b73828a5d4d4 /ospf6d/ospf6_memory.c
parent6bae26364896f66ba88d9ab30344f682204cd3f6 (diff)
ospf6d : Code refactoring for route redistribution.
1. Created new ospf6_redist structure. 2. Moved the 'route_map' structure from structure 'ospf6' to structure 'ospf6_redist'. 3. Added new message type OSPF6_REDISTRIBUTE. 4. Added the placeholder for metric option in structure ospf6_redist for redistribute. 5. Added few API's for route redistribute lookup, add & del. Signed-off-by: Kaushik <kaushik@niralnetworks.com>
Diffstat (limited to 'ospf6d/ospf6_memory.c')
-rw-r--r--ospf6d/ospf6_memory.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_memory.c b/ospf6d/ospf6_memory.c
index c008b54ce7..6585fc1580 100644
--- a/ospf6d/ospf6_memory.c
+++ b/ospf6d/ospf6_memory.c
@@ -44,3 +44,4 @@ DEFINE_MTYPE(OSPF6D, OSPF6_EXTERNAL_INFO, "OSPF6 ext. info")
DEFINE_MTYPE(OSPF6D, OSPF6_PATH, "OSPF6 Path")
DEFINE_MTYPE(OSPF6D, OSPF6_DIST_ARGS, "OSPF6 Distribute arguments")
DEFINE_MTYPE(OSPF6D, OSPF6_OTHER, "OSPF6 other")
+DEFINE_MTYPE(OSPF6D, OSPF6_REDISTRIBUTE, "OSPF6 Redistribute arguments")