summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/netlink/krt-scan.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-08-03 21:37:37 +0200
committerMartin Mares <mj@ucw.cz>1999-08-03 21:37:37 +0200
commit4532a89e31734a457d4debe56df713d66e31cdd6 (patch)
treeafdf738d416b2ac77df8d4e4a54e306e0553ddef /sysdep/linux/netlink/krt-scan.h
parent4f22c9818554087d8f5ab51b8666a7a48d1f4329 (diff)
downloadbird-4532a89e31734a457d4debe56df713d66e31cdd6.tar
bird-4532a89e31734a457d4debe56df713d66e31cdd6.zip
Taught Netlink how to behave in IPv6 world.
Diffstat (limited to 'sysdep/linux/netlink/krt-scan.h')
-rw-r--r--sysdep/linux/netlink/krt-scan.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sysdep/linux/netlink/krt-scan.h b/sysdep/linux/netlink/krt-scan.h
index 0dd3d68..cdfe444 100644
--- a/sysdep/linux/netlink/krt-scan.h
+++ b/sysdep/linux/netlink/krt-scan.h
@@ -15,6 +15,12 @@
* to krt-set.h, krt-iface.h and this file.
*/
+#ifdef IPV6
+#define NL_NUM_TABLES 1
+#else
+#define NL_NUM_TABLES 256
+#endif
+
struct krt_scan_params {
int async; /* Allow asynchronous events */
int table_id; /* Kernel table ID we sync with */