diff options
author | hasso <hasso> | 2004-11-25 20:54:46 +0000 |
---|---|---|
committer | hasso <hasso> | 2004-11-25 20:54:46 +0000 |
commit | 2680aa2b2b8e87a8af50906dec8ee5a942f8266e (patch) | |
tree | a8a9acd321152ea80587da2cfa79bfcdd64207b3 /ospf6d/ospf6_lsa.h | |
parent | c065230a4c617a1cdf8813dd25384bcc9591f61a (diff) |
Merge svn revisions 1208, 1222 and 1228 from Zebra cvs.
Diffstat (limited to 'ospf6d/ospf6_lsa.h')
-rw-r--r-- | ospf6d/ospf6_lsa.h | 6 |
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 (); |