summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_flood.h
diff options
context:
space:
mode:
authorManoj Naragund <mnaragund@vmware.com>2022-11-21 13:50:16 +0100
committerManoj Naragund <mnaragund@vmware.com>2023-01-20 06:03:03 +0100
commit516c4c665aaf8608b340259b8125c149136d89c9 (patch)
tree1189a85fad1104aed4e820ed5260d841d5180b84 /ospfd/ospf_flood.h
parentospfd: ospf hello changes. (diff)
downloadfrr-516c4c665aaf8608b340259b8125c149136d89c9.tar.xz
frr-516c4c665aaf8608b340259b8125c149136d89c9.zip
ospfd: Core logic implementation.
Description: Code changes involves. 1. Count the no.of router LSAs received with DC options bit set, supporting do not age(DNA). 2. If no of router LSAs received with DC bit set is equal to total no of LSAs in the router lsdb, then all the routers in the area support do not age processing. 3. Flood the self originated LSAs with DNA flag if all routers in the area supports the feature. 4. Stop aging of the LSAs recived with DO_NOT_AGE bit set from other routers. 5. Self originated DO_NOT_AGE lsas will still be aging in their own database. Signed-off-by: Manoj Naragund <mnaragund@vmware.com>
Diffstat (limited to 'ospfd/ospf_flood.h')
-rw-r--r--ospfd/ospf_flood.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/ospfd/ospf_flood.h b/ospfd/ospf_flood.h
index 95a5b358c..dd8b6b7fc 100644
--- a/ospfd/ospf_flood.h
+++ b/ospfd/ospf_flood.h
@@ -68,5 +68,7 @@ extern struct external_info *ospf_external_info_check(struct ospf *,
struct ospf_lsa *);
extern void ospf_lsdb_init(struct ospf_lsdb *);
+extern void ospf_area_update_fr_state(struct ospf_area *area);
+extern void ospf_refresh_dna_type5_and_type7_lsas(struct ospf *ospf);
#endif /* _ZEBRA_OSPF_FLOOD_H */