From 32f95476a8d60508ca9d24fe20b09899b72de9d7 Mon Sep 17 00:00:00 2001 From: Ondrej Zajicek Date: Thu, 6 Oct 2011 22:48:49 +0200 Subject: Signal problems with route installation to kernel tables. --- nest/route.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'nest/route.h') diff --git a/nest/route.h b/nest/route.h index 641b924..a4c0154 100644 --- a/nest/route.h +++ b/nest/route.h @@ -321,6 +321,10 @@ typedef struct rta { #define RTD_MULTIPATH 5 /* Multipath route (nexthops != NULL) */ #define RTD_NONE 6 /* Invalid RTD */ + /* Flags for net->n.flags, used by kernel syncer */ +#define KRF_INSTALLED 0x80 /* This route should be installed in the kernel */ +#define KRF_SYNC_ERROR 0x40 /* Error during kernel table synchronization */ + #define RTAF_CACHED 1 /* This is a cached rta */ #define IGP_METRIC_UNKNOWN 0x80000000 /* Default igp_metric used when no other -- cgit v1.2.3