summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_lsa.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-11-25 20:54:46 +0000
committerhasso <hasso>2004-11-25 20:54:46 +0000
commita1691dc4e16df8676770b4c37cda65e6fe0bf8d3 (patch)
tree1a38a53c4680fada1edb63c1458763dece24d6c5 /ospf6d/ospf6_lsa.h
parentf1f8b2966cb6d874535519c25e4f00632a2c1c91 (diff)
downloadquagga-a1691dc4e16df8676770b4c37cda65e6fe0bf8d3.tar.bz2
quagga-a1691dc4e16df8676770b4c37cda65e6fe0bf8d3.tar.xz
Merge svn revisions 1208, 1222 and 1228 from Zebra cvs.
Diffstat (limited to 'ospf6d/ospf6_lsa.h')
-rw-r--r--ospf6d/ospf6_lsa.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/ospf6d/ospf6_lsa.h b/ospf6d/ospf6_lsa.h
index c23d6f71..014d4235 100644
--- a/ospf6d/ospf6_lsa.h
+++ b/ospf6d/ospf6_lsa.h
@@ -148,6 +148,10 @@ struct ospf6_lsa_handler
u_char debug;
};
+extern struct ospf6_lsa_handler unknown_handler;
+#define OSPF6_LSA_IS_KNOWN(type) \
+ (ospf6_get_lsa_handler (type) != &unknown_handler ? 1 : 0)
+
/* Macro for LSA Origination */
/* addr is (struct prefix *) */
#define CONTINUE_IF_ADDRESS_LINKLOCAL(debug,addr) \
@@ -236,6 +240,8 @@ int ospf6_lsa_prohibited_duration (u_int16_t type, u_int32_t id,
u_int32_t adv_router, void *scope);
void ospf6_install_lsa_handler (struct ospf6_lsa_handler *handler);
+struct ospf6_lsa_handler *ospf6_get_lsa_handler (u_int16_t type);
+
void ospf6_lsa_init ();
void ospf6_lsa_cmd_init ();