summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/krt.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-12-08 17:20:13 +0100
committerMartin Mares <mj@ucw.cz>1998-12-08 17:20:13 +0100
commitf39e4713c270752d7bbfcc8115a7ea7f589c3997 (patch)
tree3ec3307d6b9cd6d75a3eca373941aef4f447afab /sysdep/unix/krt.h
parent04925e9040330afc92f8001e6a19ae2146e36782 (diff)
downloadbird-f39e4713c270752d7bbfcc8115a7ea7f589c3997.tar
bird-f39e4713c270752d7bbfcc8115a7ea7f589c3997.zip
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.
Diffstat (limited to 'sysdep/unix/krt.h')
-rw-r--r--sysdep/unix/krt.h3
1 files changed, 3 insertions, 0 deletions
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 */