summaryrefslogtreecommitdiffstats
path: root/ospfd/ospf_nsm.h
diff options
context:
space:
mode:
authorpaul <paul>2003-04-04 02:35:27 +0000
committerpaul <paul>2003-04-04 02:35:27 +0000
commit81b3c9c636807877beaeed741ab8fef764959ab1 (patch)
treef79070fc938ed467c7e16f5a5bbd71e4b38f87f7 /ospfd/ospf_nsm.h
parentef43a3dc3618e2e7836a9bf76572a69d94c4b4fe (diff)
downloadquagga-zebra_org_20030404.tar.bz2
quagga-zebra_org_20030404.tar.xz
Import of Zebra CVS 20030404-03:35zebra_org_20030404
Diffstat (limited to 'ospfd/ospf_nsm.h')
-rw-r--r--ospfd/ospf_nsm.h27
1 files changed, 13 insertions, 14 deletions
diff --git a/ospfd/ospf_nsm.h b/ospfd/ospf_nsm.h
index 3d257305..6c3dc4dd 100644
--- a/ospfd/ospf_nsm.h
+++ b/ospfd/ospf_nsm.h
@@ -54,28 +54,28 @@
#define OSPF_NSM_EVENT_MAX 14
/* Macro for OSPF NSM timer turn on. */
-#define OSPF_NSM_TIMER_ON(T,F,V) \
- do { \
- if (!(T)) \
- (T) = thread_add_timer (master, (F), nbr, (V)); \
+#define OSPF_NSM_TIMER_ON(T,F,V) \
+ do { \
+ if (!(T)) \
+ (T) = thread_add_timer (master, (F), nbr, (V)); \
} while (0)
/* Macro for OSPF NSM timer turn off. */
-#define OSPF_NSM_TIMER_OFF(X) \
- do { \
- if (X) \
- { \
- thread_cancel (X); \
- (X) = NULL; \
- } \
+#define OSPF_NSM_TIMER_OFF(X) \
+ do { \
+ if (X) \
+ { \
+ thread_cancel (X); \
+ (X) = NULL; \
+ } \
} while (0)
/* Macro for OSPF NSM schedule event. */
-#define OSPF_NSM_EVENT_SCHEDULE(N,E) \
+#define OSPF_NSM_EVENT_SCHEDULE(N,E) \
thread_add_event (master, ospf_nsm_event, (N), (E))
/* Macro for OSPF NSM execute event. */
-#define OSPF_NSM_EVENT_EXECUTE(N,E) \
+#define OSPF_NSM_EVENT_EXECUTE(N,E) \
thread_execute (master, ospf_nsm_event, (N), (E))
/* Prototypes. */
@@ -85,7 +85,6 @@ void ospf_check_nbr_loading (struct ospf_neighbor *);
int ospf_db_summary_isempty (struct ospf_neighbor *);
int ospf_db_summary_count (struct ospf_neighbor *);
void ospf_db_summary_clear (struct ospf_neighbor *);
-/* void ospf_db_summary_delete_all (struct ospf_neighbor *); */
#endif /* _ZEBRA_OSPF_NSM_H */