summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_asbr.h
diff options
context:
space:
mode:
authorMobashshera Rasool <mrasool@vmware.com>2021-07-14 11:07:37 +0200
committerMobashshera Rasool <mrasool@vmware.com>2021-07-21 07:16:54 +0200
commitc405b00fcf3facc46588f731fc46973331b80cff (patch)
tree03e16a515a4e428979595d623d022a6dcd45a12b /ospf6d/ospf6_asbr.h
parentospf6d: support blackhole next hops (diff)
downloadfrr-c405b00fcf3facc46588f731fc46973331b80cff.tar.xz
frr-c405b00fcf3facc46588f731fc46973331b80cff.zip
ospf6d: install summary route NULL0 as nexthop
This is a requirement for avoiding sending traffic somewhere it was not supposed to go: install summary route to local RIB to send traffic to Null0. Signed-off-by: Mobashshera Rasool <mrasool@vmware.com>
Diffstat (limited to 'ospf6d/ospf6_asbr.h')
-rw-r--r--ospf6d/ospf6_asbr.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/ospf6d/ospf6_asbr.h b/ospf6d/ospf6_asbr.h
index d5c2edf09..0aa1374a4 100644
--- a/ospf6d/ospf6_asbr.h
+++ b/ospf6d/ospf6_asbr.h
@@ -87,6 +87,9 @@ struct ospf6_external_aggr_rt {
/* Action to be done after delay timer expiry */
int action;
+ /* OSPFv3 route generated by summary address. */
+ struct ospf6_route *route;
+
/* Hash table of matching external routes */
struct hash *match_extnl_hash;
};
@@ -179,7 +182,5 @@ void ospf6_handle_external_lsa_origination(struct ospf6 *ospf6,
void ospf6_external_aggregator_free(struct ospf6_external_aggr_rt *aggr);
void ospf6_unset_all_aggr_flag(struct ospf6 *ospf6);
void ospf6_fill_aggr_route_details(struct ospf6 *ospf6,
- struct ospf6_external_info *ei_aggr,
- struct ospf6_route *rt_aggr,
- struct ospf6_external_aggr_rt *aggr);
+ struct ospf6_external_aggr_rt *aggr);
#endif /* OSPF6_ASBR_H */