]>
git.ipfire.org Git - thirdparty/bird.git/blob - sysdep/bsd/krt-sys.h
2 * BIRD -- *BSD Kernel Route Syncer
4 * (c) 2004 Ondrej Filip <feela@network.cz>
6 * Can be freely distributed and used under the terms of the GNU GPL.
9 #ifndef _BIRD_KRT_SYS_H_
10 #define _BIRD_KRT_SYS_H_
14 /* Kernel interfaces */
23 static inline void kif_sys_init(struct kif_proto
*p UNUSED
) { }
24 static inline int kif_sys_reconfigure(struct kif_proto
*p UNUSED
, struct kif_config
*n UNUSED
, struct kif_config
*o UNUSED
) { return 1; }
26 static inline void kif_sys_preconfig(struct config
*c UNUSED
) { }
27 static inline void kif_sys_postconfig(struct kif_config
*c UNUSED
) { }
28 static inline void kif_sys_init_config(struct kif_config
*c UNUSED
) { }
29 static inline void kif_sys_copy_config(struct kif_config
*d UNUSED
, struct kif_config
*s UNUSED
) { }
34 extern uint krt_max_tables
;
37 int table_id
; /* Kernel table ID we sync with */
45 static inline void krt_sys_io_init(void) { }
46 static inline void krt_sys_init(struct krt_proto
*p UNUSED
) { }
47 static inline void krt_sys_postconfig(struct krt_config
*x UNUSED
) { }
49 static inline int krt_sys_get_attr(eattr
*a UNUSED
, byte
*buf UNUSED
, int buflen UNUSED
) { return GA_UNKNOWN
; }