summaryrefslogtreecommitdiff
path: root/proto/ospf/rt.h
diff options
context:
space:
mode:
authorOndrej Filip <feela@network.cz>2004-06-25 16:39:53 +0000
committerOndrej Filip <feela@network.cz>2004-06-25 16:39:53 +0000
commit98ac61766d81d9f20c4a7c7e12859c3b82b24f4c (patch)
tree214b6571623582884aede8f634b146b330e72bc3 /proto/ospf/rt.h
parent5ed68e46d781f8a14d3ef3ffd7fe3afc4a62260e (diff)
A lot of changes:
- metric is 3 byte long now - summary lsa originating - more OSPF areas possible - virtual links - better E1/E2 routes handling - some bug fixes.. I have to do: - md5 auth (last mandatory item from rfc2328) - !!!!DEBUG!!!!! (mainly virtual link system has probably a lot of bugs) - 2328 appendig E
Diffstat (limited to 'proto/ospf/rt.h')
-rw-r--r--proto/ospf/rt.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h
index ca3d0572..f7b33303 100644
--- a/proto/ospf/rt.h
+++ b/proto/ospf/rt.h
@@ -10,10 +10,16 @@
#ifndef _BIRD_OSPF_RT_H_
#define _BIRD_OSPF_RT_H_
+#define ORT_UNDEF -1
+#define ORT_ROUTER 1
+#define ORT_NET 0
+
typedef struct orta
{
int type;
int capa;
+#define ORTA_ASBR 1
+#define ORTA_ABR 2
struct ospf_area *oa;
int metric1;
int metric2;
@@ -27,12 +33,9 @@ orta;
typedef struct ort
{
struct fib_node fn;
- int dest;
-#define ORT_UNDEF -1
-#define ORT_ROUTER 1
-#define ORT_NET 0
orta n;
orta o;
+ struct ort *efn; /* For RFC1583 */
}
ort;