summaryrefslogtreecommitdiff
path: root/sysdep/bsd/krt-sys.h
diff options
context:
space:
mode:
authorJan Moskyto Matejka <mq@ucw.cz>2015-11-03 14:42:41 +0100
committerOndrej Zajicek (work) <santiago@crfreenet.org>2015-11-11 11:40:49 +0100
commit9ddbfbddf87462bbf50437bdc1d44499a5c223e7 (patch)
tree31d59d5053d60bc2d43ef3c82969b4d789c58fe7 /sysdep/bsd/krt-sys.h
parent86b4e17001fe4cca6dde7ff523346121c0ae68fe (diff)
Netlink: Allow more than 256 routing tables.
Since 2.6.19, the netlink API defines RTA_TABLE routing attribute to allow 32-bit routing table IDs. Using this attribute to index routing tables at Linux, instead of 8-bit rtm_table field.
Diffstat (limited to 'sysdep/bsd/krt-sys.h')
-rw-r--r--sysdep/bsd/krt-sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/bsd/krt-sys.h b/sysdep/bsd/krt-sys.h
index 2c6e35c5..a63f8caf 100644
--- a/sysdep/bsd/krt-sys.h
+++ b/sysdep/bsd/krt-sys.h
@@ -42,6 +42,7 @@ struct krt_state {
};
+static inline void krt_sys_io_init(void) { }
static inline void krt_sys_init(struct krt_proto *p UNUSED) { }
static inline int krt_sys_get_attr(eattr *a UNUSED, byte *buf UNUSED, int buflen UNUSED) { }