summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-12-07 11:15:42 +0100
committerMartin Mares <mj@ucw.cz>1998-12-07 11:15:42 +0100
commit12df4d909bdfa9e99dd0dd1b9fd690ce85b87dc5 (patch)
tree2d89584c76fe9985b848da6bfa885d69d6523e96 /sysdep
parentf6bd206607d9fcad3572841813d7376bd2df4952 (diff)
downloadbird-12df4d909bdfa9e99dd0dd1b9fd690ce85b87dc5.tar
bird-12df4d909bdfa9e99dd0dd1b9fd690ce85b87dc5.zip
KRF_* flags moved to krt.h as they are internal to kernel syncer,
fib->pad0,pad1 renamed to x0,x1 and in case of struct net x0 is reserved for kernel syncing as well.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/krt.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h
index 2da29e5..24122e9 100644
--- a/sysdep/unix/krt.h
+++ b/sysdep/unix/krt.h
@@ -12,6 +12,11 @@
#include "lib/krt-scan.h"
#include "lib/krt-set.h"
+/* Flags stored in net->n.flags */
+
+#define KRF_SEEN 1 /* Seen in kernel table during last scan */
+#define KRF_UPDATE 2 /* Need to update this entry */
+
/* sync-rt.c */
extern struct protocol proto_unix_kernel;