summaryrefslogtreecommitdiff
path: root/sysdep/unix/krt.h
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2012-04-30 22:21:52 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2012-04-30 22:25:24 +0200
commitf1aceff59bbf942bc11c2e9a4c51e381c06f2b20 (patch)
treef309df0372a59198a795ab776deef6c4276f1ad8 /sysdep/unix/krt.h
parent396dfa9042305f62da1f56589c4b98fac57fc2f6 (diff)
Cleanup in sysdep KRT code, part 2.
Remove support for historic Linux kernels, merge krt-iface, krt-set and krt-scan stub headers.
Diffstat (limited to 'sysdep/unix/krt.h')
-rw-r--r--sysdep/unix/krt.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h
index a3b5658a..9d5639f2 100644
--- a/sysdep/unix/krt.h
+++ b/sysdep/unix/krt.h
@@ -15,9 +15,7 @@ struct krt_proto;
struct kif_config;
struct kif_proto;
-#include "lib/krt-scan.h"
-#include "lib/krt-set.h"
-#include "lib/krt-iface.h"
+#include "lib/krt-sys.h"
/* Flags stored in net->n.flags, rest are in nest/route.h */
@@ -113,7 +111,7 @@ struct kif_proto {
struct proto_config * krt_init_config(int class);
-/* krt-scan.c */
+/* krt sysdep */
void krt_sys_init(struct krt_proto *);
void krt_sys_start(struct krt_proto *, int);
@@ -130,7 +128,7 @@ void krt_do_scan(struct krt_proto *);
void krt_do_notify(struct krt_proto *p, net *n, rte *new, rte *old, struct ea_list *eattrs);
-/* krt-iface.c */
+/* kif sysdep */
void kif_sys_init(struct kif_proto *);
void kif_sys_start(struct kif_proto *);
@@ -142,6 +140,5 @@ void kif_sys_copy_config(struct kif_config *, struct kif_config *);
void kif_do_scan(struct kif_proto *);
-// void kif_sys_io_init(void);
#endif