1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Kernel syncer is now configurable. It will probably need some more

options, but at least basic tuning is possible now.
This commit is contained in:
Martin Mares
1998-12-06 17:40:42 +00:00
parent 0846203e89
commit 980ffedbb0
10 changed files with 89 additions and 7 deletions

View File

@@ -23,6 +23,8 @@
#include "unix.h"
#include "krt.h"
struct proto *cf_krt_proto;
void
krt_start(struct proto *P)
{
@@ -42,6 +44,7 @@ krt_preconfig(struct protocol *x)
{
struct krt_proto *p = (struct krt_proto *) proto_new(&proto_unix_kernel, sizeof(struct krt_proto));
cf_krt_proto = &p->p;
p->p.preference = DEF_PREF_UKR;
p->p.start = krt_start;
p->p.shutdown = krt_shutdown;