2022-07-13 13:39:14 +00:00
|
|
|
/*
|
|
|
|
* BIRD -- Table-to-Table Routing Protocol a.k.a Pipe
|
|
|
|
*
|
2022-07-14 12:51:03 +00:00
|
|
|
* (c) 2022 Vojtech Vilimek <vojtech.vilimek@nic.cz>
|
|
|
|
* (c) 2022 CZ.NIC z.s.p.o.
|
2022-07-13 13:39:14 +00:00
|
|
|
*
|
|
|
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef _BIRD_STATS_H_
|
|
|
|
#define _BIRD_STATS_H_
|
|
|
|
|
|
|
|
struct stats_config {
|
|
|
|
struct proto_config c;
|
|
|
|
const net_addr *in_subprefix;
|
|
|
|
u8 max_generation;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct stats_proto {
|
|
|
|
struct proto p;
|
2022-07-14 12:51:03 +00:00
|
|
|
struct channel *c;
|
2022-07-13 13:39:14 +00:00
|
|
|
struct tbf rl_gen;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|