summaryrefslogtreecommitdiffstats
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
commit933ec5f2362be30ceafbe7ced1f442343078ac4b (patch)
tree02ec788b69e11c1638cfd0f6f15a5f99635efb37 /ospf6d/ospf6d.h
parent0727bfe055660cb5ef370f33a50c94bb1cf92895 (diff)
downloadquagga-933ec5f2362be30ceafbe7ced1f442343078ac4b.tar.bz2
quagga-933ec5f2362be30ceafbe7ced1f442343078ac4b.tar.xz
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