summaryrefslogtreecommitdiffstats
path: root/ospf6d/ospf6_flood.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-09-01 23:36:14 +0200
committerhasso <hasso>2004-09-01 23:36:14 +0200
commit1e05838a4db178f25eef560d774cf63d7af6d3c4 (patch)
treef87bdb34ec1337e390b885d5344f1a40c7dbb383 /ospf6d/ospf6_flood.h
parentIndentation consensus. (diff)
downloadfrr-1e05838a4db178f25eef560d774cf63d7af6d3c4.tar.xz
frr-1e05838a4db178f25eef560d774cf63d7af6d3c4.zip
Merge svn revision 975 from Zebra repository.
Diffstat (limited to 'ospf6d/ospf6_flood.h')
-rw-r--r--ospf6d/ospf6_flood.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/ospf6d/ospf6_flood.h b/ospf6d/ospf6_flood.h
index e894e5687..4851c141e 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 */