1998-10-18 20:50:43 +08:00
|
|
|
/*
|
|
|
|
* BIRD -- Linux Kernel Route Syncer -- Scanning Parameters
|
|
|
|
*
|
1999-02-06 05:39:21 +08:00
|
|
|
* (c) 1998--1999 Martin Mares <mj@ucw.cz>
|
1998-10-18 20:50:43 +08:00
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_KRT_SCAN_H_
|
|
|
|
#define _BIRD_KRT_SCAN_H_
|
|
|
|
|
|
|
|
struct krt_scan_params {
|
1998-12-07 01:40:42 +08:00
|
|
|
int learn; /* Should we learn routes from the kernel? */
|
1998-12-09 02:37:58 +08:00
|
|
|
int scan_time; /* How often should we scan krt, 0=only on startup */
|
1999-02-06 05:39:21 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
struct krt_scan_status {
|
|
|
|
list temp_ifs; /* Temporary interfaces */
|
1998-12-09 02:37:58 +08:00
|
|
|
int accum_time; /* Accumulated scanning time */
|
1998-10-18 20:50:43 +08:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|