2022-07-13 13:39:14 +00:00
|
|
|
/*
|
2022-07-14 15:08:03 +00:00
|
|
|
* BIRD -- Statistics Protocol
|
2022-07-13 13:39:14 +00:00
|
|
|
*
|
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;
|
2022-07-14 15:08:03 +00:00
|
|
|
u32 *counters;
|
2022-07-13 13:39:14 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|