From 98ac61766d81d9f20c4a7c7e12859c3b82b24f4c Mon Sep 17 00:00:00 2001 From: Ondrej Filip Date: Fri, 25 Jun 2004 16:39:53 +0000 Subject: 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 --- proto/ospf/rt.h | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'proto/ospf/rt.h') diff --git a/proto/ospf/rt.h b/proto/ospf/rt.h index ca3d057..f7b3330 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; -- cgit v1.2.3