mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-10 05:08:42 +00:00
013a9b91fe
routes) from kernel routing tables unless the "persist" switch is set.
25 lines
471 B
C
25 lines
471 B
C
/*
|
|
* BIRD -- Unix Kernel Route Syncer -- Setting 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_SET_H_
|
|
#define _BIRD_KRT_SET_H_
|
|
|
|
struct krt_set_params {
|
|
int persist;
|
|
};
|
|
|
|
struct krt_set_status {
|
|
};
|
|
|
|
void krt_remove_route(rte *old);
|
|
void krt_add_route(rte *new);
|
|
int krt_capable(rte *e);
|
|
void krt_set_notify(struct proto *x, net *net, rte *new, rte *old);
|
|
|
|
#endif
|