]> git.ipfire.org Git - thirdparty/bird.git/blame - sysdep/unix/krt.Y
Kernel syncer is now configurable. It will probably need some more
[thirdparty/bird.git] / sysdep / unix / krt.Y
CommitLineData
980ffedb
MM
1/*
2 * BIRD -- UNIX Kernel Syncer Configuration
3 *
4 * (c) 1998 Martin Mares <mj@ucw.cz>
5 *
6 * Can be freely distributed and used under the terms of the GNU GPL.
7 */
8
9CF_HDR
10
11#include "lib/krt.h"
12
13CF_DECLS
14
15CF_KEYWORDS(KERNEL)
16
17CF_GRAMMAR
18
19/* Kernel protocol */
20
21CF_ADDTO(proto, kern_proto '}')
22
23kern_proto_start: proto_start KERNEL {
24 if (!(this_proto = cf_krt_proto)) cf_error("Kernel protocol already defined");
25 cf_krt_proto = NULL;
26 }
27 ;
28
29CF_ADDTO(kern_proto, kern_proto_start '{')
30CF_ADDTO(kern_proto, kern_proto proto_item ';')
31
32CF_CODE
33
34CF_END