summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/krt.h
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-05 22:38:50 +0100
committerMartin Mares <mj@ucw.cz>1999-02-05 22:38:50 +0100
commit10d807d000155a6257f6fbad88eb72a8bf9045da (patch)
treed5a5d175b49efa2585a7e8aa3dd9b0114a9d01be /sysdep/unix/krt.h
parente9e3dc265971fbf985c5df09cb1d98494c386581 (diff)
downloadbird-10d807d000155a6257f6fbad88eb72a8bf9045da.tar
bird-10d807d000155a6257f6fbad88eb72a8bf9045da.zip
Synced kernel interface to new interface.
Diffstat (limited to 'sysdep/unix/krt.h')
-rw-r--r--sysdep/unix/krt.h20
1 files changed, 14 insertions, 6 deletions
diff --git a/sysdep/unix/krt.h b/sysdep/unix/krt.h
index 4ea88d5..5631bc5 100644
--- a/sysdep/unix/krt.h
+++ b/sysdep/unix/krt.h
@@ -25,29 +25,37 @@
extern struct protocol proto_unix_kernel;
-struct krt_proto {
- struct proto p;
+struct krt_config {
+ struct proto_config c;
struct krt_set_params setopt;
struct krt_scan_params scanopt;
struct krt_if_params ifopt;
};
-extern struct proto *cf_krt_proto;
+struct krt_proto {
+ struct proto p;
+ struct krt_set_status setstat;
+ struct krt_scan_status scanstat;
+ struct krt_if_status ifstat;
+};
+
+extern struct proto_config *cf_krt;
/* krt-scan.c */
-void krt_scan_preconfig(struct krt_proto *);
+void krt_scan_preconfig(struct krt_config *);
void krt_scan_start(struct krt_proto *);
void krt_scan_shutdown(struct krt_proto *);
void krt_scan_ifaces_done(struct krt_proto *);
/* krt-set.c */
-void krt_set_preconfig(struct krt_proto *);
+void krt_set_preconfig(struct krt_config *);
+void krt_set_start(struct krt_proto *);
/* sync-if.c */
-void krt_if_preconfig(struct krt_proto *);
+void krt_if_preconfig(struct krt_config *);
void krt_if_start(struct krt_proto *);
void krt_if_shutdown(struct krt_proto *);