From 10d807d000155a6257f6fbad88eb72a8bf9045da Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Fri, 5 Feb 1999 21:38:50 +0000 Subject: Synced kernel interface to new interface. --- sysdep/unix/krt.h | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'sysdep/unix/krt.h') 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 *); -- cgit v1.2.3