summaryrefslogtreecommitdiffstats
path: root/lib/libospf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:40 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-20 03:03:40 +0200
commitca1f4309e6dfbbed7823ff76160c0b2401a58115 (patch)
tree8b9d6170e8bf94182517a24c30579eb9cb367105 /lib/libospf.h
parentospf6d: ospfv3-abr-ecmp-support.patch (diff)
downloadfrr-ca1f4309e6dfbbed7823ff76160c0b2401a58115.tar.xz
frr-ca1f4309e6dfbbed7823ff76160c0b2401a58115.zip
ospf6d: ospfv3-stub-area-support.patch
Support stubby and totally stubby areas in OSPFv3 Signed-off-by: Dinesh G Dutt <ddutt at cumulusnetworks.com> Reviewed-by: Pradosh Mohapatra <pmohapat at cumulusnetworks.com>
Diffstat (limited to 'lib/libospf.h')
-rw-r--r--lib/libospf.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/libospf.h b/lib/libospf.h
index ade774db6..8762dfb25 100644
--- a/lib/libospf.h
+++ b/lib/libospf.h
@@ -82,6 +82,11 @@
#define OSPF_AREA_BACKBONE 0x00000000 /* 0.0.0.0 */
#define OSPF_AREA_RANGE_COST_UNSPEC -1U
+#define OSPF_AREA_DEFAULT 0
+#define OSPF_AREA_STUB 1
+#define OSPF_AREA_NSSA 2
+#define OSPF_AREA_TYPE_MAX 3
+
/* SPF Throttling timer values. */
#define OSPF_SPF_DELAY_DEFAULT 200
#define OSPF_SPF_HOLDTIME_DEFAULT 1000