summaryrefslogtreecommitdiffstats
path: root/sysdep/linux/krt-scan.h
blob: ef1f729007641f310dfa9a9c65af1968b2cc26e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/*
 *	BIRD -- Linux Kernel Route Syncer -- Scanning Parameters
 *
 *	(c) 1998--1999 Martin Mares <mj@ucw.cz>
 *
 *	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 {
  int learn;				/* Should we learn routes from the kernel? */
  int scan_time;			/* How often should we scan krt, 0=only on startup */
};

struct krt_scan_status {
  list temp_ifs;			/* Temporary interfaces */
  int accum_time;			/* Accumulated scanning time */
};

#endif