1998-10-18 12:50:43 +00:00
|
|
|
/*
|
|
|
|
* BIRD -- Linux Kernel Route Syncer -- Scanning Parameters
|
|
|
|
*
|
1999-02-05 21:39:21 +00:00
|
|
|
* (c) 1998--1999 Martin Mares <mj@ucw.cz>
|
1998-10-18 12:50:43 +00: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-06 17:40:42 +00:00
|
|
|
int learn; /* Should we learn routes from the kernel? */
|
1998-12-08 18:37:58 +00:00
|
|
|
int scan_time; /* How often should we scan krt, 0=only on startup */
|
1999-02-05 21:39:21 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct krt_scan_status {
|
|
|
|
list temp_ifs; /* Temporary interfaces */
|
1998-12-08 18:37:58 +00:00
|
|
|
int accum_time; /* Accumulated scanning time */
|
1998-10-18 12:50:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|