summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_top.h
diff options
context:
space:
mode:
authorDinesh Dutt <ddutt@cumulusnetworks.com>2013-08-24 08:00:37 +0000
committerDavid Lamparter <equinox@opensourcerouting.org>2013-11-07 18:15:43 -0800
commitf41b4a021659dd48d62b1a7aac4b28e3663dbdaa (patch)
treeec4595f0d79279eef4da07145a30d104604b0035 /ospf6d/ospf6_top.h
parente7ad6b20d7a7c63ed7c640ab9f61c853e77508c5 (diff)
downloadquagga-f41b4a021659dd48d62b1a7aac4b28e3663dbdaa.tar.bz2
quagga-f41b4a021659dd48d62b1a7aac4b28e3663dbdaa.tar.xz
ospf6d: add overload support
OSPFv3: Support setting/clearing overload bit on router It is sometimes necessary for a router to gracefully remove itself from the SPF tree i.e. it cannot act as a transit router. It does this by setting the overload bit in the router LSA. This patch adds support for enabling/disabling the overload bit. Signed-off-by: Dinesh G Dutt <ddutt at cumulusnetworks.com> Reviewed-by: Pradosh Mohapatra <pmohapat at cumulusnetworks.com> [DL: patch applied with fuzz] Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'ospf6d/ospf6_top.h')
-rw-r--r--ospf6d/ospf6_top.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_top.h b/ospf6d/ospf6_top.h
index 27eb18cd..02eb9154 100644
--- a/ospf6d/ospf6_top.h
+++ b/ospf6d/ospf6_top.h
@@ -76,6 +76,7 @@ struct ospf6
};
#define OSPF6_DISABLED 0x01
+#define OSPF6_STUB_ROUTER 0x02
/* global pointer for OSPF top data structure */
extern struct ospf6 *ospf6;