1999-08-03 19:57:43 +00:00
|
|
|
/*
|
|
|
|
* 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_
|
|
|
|
|
2023-06-21 11:15:07 +00:00
|
|
|
struct merging_import {
|
|
|
|
uint limit;
|
|
|
|
uint use_aggregator;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct merging_export {
|
|
|
|
uint limit;
|
|
|
|
uint use_aggregator;
|
|
|
|
};
|
|
|
|
|
1999-08-03 19:57:43 +00:00
|
|
|
struct pipe_config {
|
|
|
|
struct proto_config c;
|
2023-06-21 11:15:07 +00:00
|
|
|
struct rtable_config *peer; /* Table we're connected to */
|
|
|
|
struct merging_import config_import; /* From peer table to primary table */
|
|
|
|
struct merging_export config_export; /* From primary table to peer table */
|
1999-08-03 19:57:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
struct pipe_proto {
|
|
|
|
struct proto p;
|
2016-01-26 10:48:58 +00:00
|
|
|
struct channel *pri;
|
|
|
|
struct channel *sec;
|
1999-08-03 19:57:43 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|