summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6d.h
diff options
context:
space:
mode:
authorhasso <hasso>2004-08-15 05:52:07 +0000
committerhasso <hasso>2004-08-15 05:52:07 +0000
commit6452df092bf6b694ea62a0423ac242f10ab997f9 (patch)
tree087490eb5e58209ca207f28b626c4a4a84ad4c9c /ospf6d/ospf6d.h
parentf841e02e16869481f4ac4cdfd2e8c941df815720 (diff)
SVN revisions 916-920 from Zebra. ABR support is almost done.
Diffstat (limited to 'ospf6d/ospf6d.h')
-rw-r--r--ospf6d/ospf6d.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/ospf6d/ospf6d.h b/ospf6d/ospf6d.h
index c738df65..3274242d 100644
--- a/ospf6d/ospf6d.h
+++ b/ospf6d/ospf6d.h
@@ -22,7 +22,7 @@
#ifndef OSPF6D_H
#define OSPF6D_H
-#define OSPF6_DAEMON_VERSION "0.9.7e"
+#define OSPF6_DAEMON_VERSION "0.9.7i"
/* global variables */
extern int errno;
@@ -50,6 +50,12 @@ extern struct thread_master *master;
#endif /* IPV6_DROP_MEMBERSHIP */
#endif /* ! IPV6_LEAVE_GROUP */
+/* cast macro */
+#define OSPF6_PROCESS(x) ((struct ospf6 *) (x))
+#define OSPF6_AREA(x) ((struct ospf6_area *) (x))
+#define OSPF6_INTERFACE(x) ((struct ospf6_interface *) (x))
+#define OSPF6_NEIGHBOR(x) ((struct ospf6_neighbor *) (x))
+
/* operation on timeval structure */
#ifndef timerclear
#define timerclear(a) (a)->tv_sec = (tvp)->tv_usec = 0