0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-17 08:38:42 +00:00

Use traditional Unix route/iface interface only when CONFIG_NETLINK

is not defined. Also moved declarations of Unix iface logic to krt.h.
This commit is contained in:
Martin Mares 1999-03-01 19:05:58 +00:00
parent 12be9b8c18
commit 025d14cd5a
4 changed files with 12 additions and 7 deletions

View File

@ -1,3 +1,7 @@
#ifdef CONFIG_NETLINK
netlink.c
#else
krt-scan.c
krt-scan.h
krt-scan.Y
#endif

View File

@ -3,6 +3,8 @@ main.c
timer.h
io.c
unix.h
#ifndef CONFIG_NETLINK
sync-if.c
sync-rt.c
krt.Y
@ -12,3 +14,4 @@ krt-set.h
krt-set.Y
krt-iface.h
krt-iface.Y
#endif

View File

@ -56,6 +56,11 @@ void krt_set_shutdown(struct krt_proto *);
/* sync-if.c */
extern int if_scan_sock;
extern int if_scan_period;
void scan_if_init(void);
void krt_if_preconfig(struct krt_config *);
void krt_if_start(struct krt_proto *);
void krt_if_shutdown(struct krt_proto *);

View File

@ -26,11 +26,4 @@ void io_loop(void);
void fill_in_sockaddr(struct sockaddr_in *sa, ip_addr a, unsigned port);
void get_sockaddr(struct sockaddr_in *sa, ip_addr *a, unsigned *port);
/* sync-if.c */
extern int if_scan_sock;
extern int if_scan_period;
void scan_if_init(void);
#endif