From f39e4713c270752d7bbfcc8115a7ea7f589c3997 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 8 Dec 1998 16:20:13 +0000 Subject: Rewritten kernel syncer. Now uses the rta trickery I've introduced yesterday and does things "the right way". Few things are still missing (device routes etc.), I'll add them later in the evening. --- sysdep/unix/krt.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'sysdep/unix/krt.h') diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h index 24122e9..aae5bd5 100644 --- a/sysdep/unix/krt.h +++ b/sysdep/unix/krt.h @@ -14,8 +14,11 @@ /* Flags stored in net->n.flags */ +#define KRF_CREATE 0 /* Not seen in kernel table */ #define KRF_SEEN 1 /* Seen in kernel table during last scan */ #define KRF_UPDATE 2 /* Need to update this entry */ +#define KRF_DELETE 3 /* Should be deleted */ +#define KRF_LEARN 4 /* We should learn this route */ /* sync-rt.c */ -- cgit v1.2.3