mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 17:51:53 +00:00
10bb1c1e9d
Introducing a new omnipotent internal API to just pass route updates from whatever point wherever we want. From now on, all the exports should be processed by RT_WALK_EXPORTS macro, and you can also issue a separate feed-only request to just get a feed and finish. The exporters can now also stop and the readers must expect that to happen and recover. Main tables don't stop, though.
28 lines
502 B
C
28 lines
502 B
C
/*
|
|
* BIRD -- Table-to-Table Routing Protocol a.k.a Pipe
|
|
*
|
|
* (c) 1999 Martin Mares <mj@ucw.cz>
|
|
*
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
*/
|
|
|
|
#ifndef _BIRD_PIPE_H_
|
|
#define _BIRD_PIPE_H_
|
|
|
|
struct pipe_config {
|
|
struct proto_config c;
|
|
struct rtable_config *peer; /* Table we're connected to */
|
|
const net_addr *in_subprefix;
|
|
u8 max_generation;
|
|
};
|
|
|
|
struct pipe_proto {
|
|
struct proto p;
|
|
struct channel *pri;
|
|
struct channel *sec;
|
|
struct tbf rl_gen;
|
|
};
|
|
|
|
|
|
#endif
|