summaryrefslogtreecommitdiffstats
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-04-03 15:00:52 +0200
committerMartin Mares <mj@ucw.cz>1999-04-03 15:00:52 +0200
commit73c7bed168890399981f70e1d0be35d8cde01fed (patch)
treea1557afbf3e2c4dd212e282354f1218b97aba627 /sysdep
parentfe662dfd782619fd6505a1456b973b2525ab6ebf (diff)
downloadbird-73c7bed168890399981f70e1d0be35d8cde01fed.tar
bird-73c7bed168890399981f70e1d0be35d8cde01fed.zip
Defined CONFIG_SELF_CONSCIOUS whenever the kernel scanner is able
to distinguish between our own routes and alien ones.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/cf/README1
-rw-r--r--sysdep/cf/linux-20.h1
-rw-r--r--sysdep/cf/linux-21.h1
-rw-r--r--sysdep/cf/linux-22.h1
4 files changed, 4 insertions, 0 deletions
diff --git a/sysdep/cf/README b/sysdep/cf/README
index c35ffe5..eb8ac34 100644
--- a/sysdep/cf/README
+++ b/sysdep/cf/README
@@ -4,6 +4,7 @@ Available configuration variables:
CONFIG_TOS Routing by TOS supported
CONFIG_AUTO_ROUTES Device routes are added automagically by the kernel
CONFIG_ALL_MULTICAST All devices support multicasting (i.e., ignore IFF_MULTICAST)
+CONFIG_SELF_CONSCIOUS We're able to recognize whether route was installed by us
CONFIG_UNIX_IFACE Use Unix interface scanner
CONFIG_UNIX_SET Use Unix route setting
diff --git a/sysdep/cf/linux-20.h b/sysdep/cf/linux-20.h
index 75f12ac..c816f94 100644
--- a/sysdep/cf/linux-20.h
+++ b/sysdep/cf/linux-20.h
@@ -9,6 +9,7 @@
#undef CONFIG_TOS
#undef CONFIG_AUTO_ROUTES
#define CONFIG_ALL_MULTICAST
+#undef CONFIG_SELF_CONSCIOUS
#define CONFIG_UNIX_IFACE
#define CONFIG_UNIX_SET
diff --git a/sysdep/cf/linux-21.h b/sysdep/cf/linux-21.h
index f5efe4d..3a46f87 100644
--- a/sysdep/cf/linux-21.h
+++ b/sysdep/cf/linux-21.h
@@ -9,6 +9,7 @@
#undef CONFIG_TOS
#define CONFIG_AUTO_ROUTES
#define CONFIG_ALL_MULTICAST
+#undef CONFIG_SELF_CONSCIOUS
#define CONFIG_UNIX_IFACE
#define CONFIG_UNIX_SET
diff --git a/sysdep/cf/linux-22.h b/sysdep/cf/linux-22.h
index 966fb7c..a76cb1b 100644
--- a/sysdep/cf/linux-22.h
+++ b/sysdep/cf/linux-22.h
@@ -9,6 +9,7 @@
#define CONFIG_TOS
#define CONFIG_AUTO_ROUTES
#define CONFIG_ALL_MULTICAST
+#define CONFIG_SELF_CONSCIOUS
/*
Link: sysdep/linux/netlink