From aa8761de9471dbe28149d990bdbc851c744f4e2b Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Tue, 18 Jan 2000 10:39:30 +0000 Subject: Kernel route syncer now supports dynamic reconfiguration. Also it doesn't depend on the startup counter hack now and uses a zero-time timer instead to make itself scheduled after normal protocol startup. --- sysdep/linux/netlink/krt-scan.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'sysdep/linux/netlink/krt-scan.h') diff --git a/sysdep/linux/netlink/krt-scan.h b/sysdep/linux/netlink/krt-scan.h index cdfe444..ec10a7f 100644 --- a/sysdep/linux/netlink/krt-scan.h +++ b/sysdep/linux/netlink/krt-scan.h @@ -1,7 +1,7 @@ /* * BIRD -- Linux Kernel Netlink Route Syncer -- Scanning * - * (c) 1998--1999 Martin Mares + * (c) 1998--2000 Martin Mares * * Can be freely distributed and used under the terms of the GNU GPL. */ @@ -30,4 +30,9 @@ struct krt_scan_status { list temp_ifs; /* Temporary interfaces */ }; +static inline int krt_scan_params_same(struct krt_scan_params *o, struct krt_scan_params *n) +{ + return o->async == n->async && o->table_id == n->table_id; +} + #endif -- cgit v1.2.3