summaryrefslogtreecommitdiff
path: root/lib/libospf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-05-19 18:03:40 -0700
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-05-19 18:03:40 -0700
commitca1f4309e6dfbbed7823ff76160c0b2401a58115 (patch)
tree8b9d6170e8bf94182517a24c30579eb9cb367105 /lib/libospf.h
parentc3c0ac8395502d7e84e94e0281cb72fa37a236c4 (diff)
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 ade774db6d..8762dfb259 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