]> git.proxmox.com Git - mirror_frr.git/blob - ospfd/ospf_ia.h
Merge pull request #13649 from donaldsharp/unlock_the_node_or_else
[mirror_frr.git] / ospfd / ospf_ia.h
1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /*
3 * OSPF inter-area routing.
4 * Copyright (C) 1999, 2000 Alex Zinin, Toshiaki Takada
5 */
6
7 #ifndef _ZEBRA_OSPF_IA_H
8 #define _ZEBRA_OSPF_IA_H
9
10 /* Macros. */
11 #define OSPF_EXAMINE_SUMMARIES_ALL(A, N, R) \
12 { \
13 ospf_examine_summaries((A), SUMMARY_LSDB((A)), (N), (R)); \
14 ospf_examine_summaries((A), ASBR_SUMMARY_LSDB((A)), (N), (R)); \
15 }
16
17 #define OSPF_EXAMINE_TRANSIT_SUMMARIES_ALL(A, N, R) \
18 { \
19 ospf_examine_transit_summaries((A), SUMMARY_LSDB((A)), (N), \
20 (R)); \
21 ospf_examine_transit_summaries((A), ASBR_SUMMARY_LSDB((A)), \
22 (N), (R)); \
23 }
24
25 extern void ospf_ia_routing(struct ospf *, struct route_table *,
26 struct route_table *);
27 extern int ospf_area_is_transit(struct ospf_area *);
28
29 #endif /* _ZEBRA_OSPF_IA_H */