mirror of
				https://gitlab.labs.nic.cz/labs/bird.git
				synced 2024-05-11 16:54:54 +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:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
@@ -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 *);
 | 
			
		||||
 
 | 
			
		||||
@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user