summaryrefslogtreecommitdiff
path: root/sysdep/linux/netlink/krt-scan.h
blob: 302b609379383845be614882f6b9eab4f53d7d91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
/*
 *	BIRD -- Linux Kernel Netlink Route Syncer -- Scanning
 *
 *	(c) 1998--2000 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_

/*
 *  We don't have split iface/scan/set for Netlink. All options
 *  and run-time parameters are declared here instead of splitting
 *  to krt-set.h, krt-iface.h and this file.
 */

#define NL_NUM_TABLES 256

struct krt_params {
  int table_id;				/* Kernel table ID we sync with */
};

struct krt_status {
};


static inline void krt_sys_init(struct krt_proto *p UNUSED) { }

#endif