From be4cd99a3688cef19f66e1c8b8e0506ffc1e13fc Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 22 Dec 2011 13:20:29 +0100 Subject: Implements deterministic MED handling. Thanks to Alexander V. Chernikov for many suggestions. --- nest/route.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'nest/route.h') diff --git a/nest/route.h b/nest/route.h index a4c01548..e6712c64 100644 --- a/nest/route.h +++ b/nest/route.h @@ -200,6 +200,11 @@ typedef struct rte { u32 tag; /* External route tag */ u32 router_id; /* Router that originated this route */ } ospf; +#endif +#ifdef CONFIG_BGP + struct { + u8 suppressed; /* Used for deterministic MED comparison */ + } bgp; #endif struct { /* Routes generated by krt sync (both temporary and inherited ones) */ s8 src; /* Alleged route source (see krt.h) */ -- cgit v1.2.3