Revision 10d807d0 sysdep/unix/krt.h

View differences:

sysdep/unix/krt.h
25 25

  
26 26
extern struct protocol proto_unix_kernel;
27 27

  
28
struct krt_proto {
29
  struct proto p;
28
struct krt_config {
29
  struct proto_config c;
30 30
  struct krt_set_params setopt;
31 31
  struct krt_scan_params scanopt;
32 32
  struct krt_if_params ifopt;
33 33
};
34 34

  
35
extern struct proto *cf_krt_proto;
35
struct krt_proto {
36
  struct proto p;
37
  struct krt_set_status setstat;
38
  struct krt_scan_status scanstat;
39
  struct krt_if_status ifstat;
40
};
41

  
42
extern struct proto_config *cf_krt;
36 43

  
37 44
/* krt-scan.c */
38 45

  
39
void krt_scan_preconfig(struct krt_proto *);
46
void krt_scan_preconfig(struct krt_config *);
40 47
void krt_scan_start(struct krt_proto *);
41 48
void krt_scan_shutdown(struct krt_proto *);
42 49
void krt_scan_ifaces_done(struct krt_proto *);
43 50

  
44 51
/* krt-set.c */
45 52

  
46
void krt_set_preconfig(struct krt_proto *);
53
void krt_set_preconfig(struct krt_config *);
54
void krt_set_start(struct krt_proto *);
47 55

  
48 56
/* sync-if.c */
49 57

  
50
void krt_if_preconfig(struct krt_proto *);
58
void krt_if_preconfig(struct krt_config *);
51 59
void krt_if_start(struct krt_proto *);
52 60
void krt_if_shutdown(struct krt_proto *);
53 61

  

Also available in: Unified diff