From 1e05838a4db178f25eef560d774cf63d7af6d3c4 Mon Sep 17 00:00:00 2001 From: hasso Date: Wed, 1 Sep 2004 21:36:14 +0000 Subject: Merge svn revision 975 from Zebra repository. --- ospf6d/ospf6_flood.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'ospf6d/ospf6_flood.h') diff --git a/ospf6d/ospf6_flood.h b/ospf6d/ospf6_flood.h index e894e568..4851c141 100644 --- a/ospf6d/ospf6_flood.h +++ b/ospf6d/ospf6_flood.h @@ -22,6 +22,15 @@ #ifndef OSPF6_FLOOD_H #define OSPF6_FLOOD_H +/* Debug option */ +extern unsigned char conf_debug_ospf6_flooding; +#define OSPF6_DEBUG_FLOODING_ON() \ + (conf_debug_ospf6_flooding = 1) +#define OSPF6_DEBUG_FLOODING_OFF() \ + (conf_debug_ospf6_flooding = 0) +#define IS_OSPF6_DEBUG_FLOODING \ + (conf_debug_ospf6_flooding) + /* Function Prototypes */ struct ospf6_lsdb *ospf6_get_scoped_lsdb (struct ospf6_lsa *lsa); struct ospf6_lsdb *ospf6_get_scoped_lsdb_self (struct ospf6_lsa *lsa); @@ -49,6 +58,9 @@ void ospf6_receive_lsa (struct ospf6_neighbor *from, struct ospf6_lsa_header *header); void ospf6_install_lsa (struct ospf6_lsa *lsa); +int config_write_ospf6_debug_flood (struct vty *vty); +void install_element_ospf6_debug_flood (); + #endif /* OSPF6_FLOOD_H */ -- cgit v1.2.1