summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_top.h
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2021-09-24 13:42:49 -0400
committerGitHub <noreply@github.com>2021-09-24 13:42:49 -0400
commitb8beb67ef5a1c6e276a11ee346ea4a84c1c0b76f (patch)
treed471f2d6c8d8b7c50e09207a37e695e6138629c8 /ospf6d/ospf6_top.h
parentd2e41077549d65e08b14948597cacb3d34eeda52 (diff)
parent6735622c24a3510032e40aaf4b9f419e9efbea3d (diff)
Merge pull request #9585 from opensourcerouting/ospf6d-nssa-dflt-originate
ospf6d: add a knob to generate Type-7 default routes
Diffstat (limited to 'ospf6d/ospf6_top.h')
-rw-r--r--ospf6d/ospf6_top.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ospf6d/ospf6_top.h b/ospf6d/ospf6_top.h
index 9a0b1279ce..55cab72307 100644
--- a/ospf6d/ospf6_top.h
+++ b/ospf6d/ospf6_top.h
@@ -143,6 +143,18 @@ struct ospf6 {
/* OSPF6 redistribute configuration */
struct list *redist[ZEBRA_ROUTE_MAX + 1];
+ /* NSSA default-information-originate */
+ struct {
+ /* # of NSSA areas requesting default information */
+ uint16_t refcnt;
+
+ /*
+ * Whether a default route known through non-OSPF protocol is
+ * present in the RIB.
+ */
+ bool status;
+ } nssa_default_import_check;
+
uint8_t flag;
#define OSPF6_FLAG_ABR 0x04
#define OSPF6_FLAG_ASBR 0x08