mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-23 10:11:53 +00:00
d648c6b602
Add new global counter for stats channel New symbol is added for each stats protocol channel, the symbol is accessed by same name as the underlying channel. Symbols evaluate to the sum of all routes exported from connected table with generation less than max generation of particular channel. Default max generation is 16. Beware you shouldn't make cyclic references as the behavior of such configuration is not defined!
6 lines
112 B
C
6 lines
112 B
C
#ifndef _BIRD_STATS_PUB_H_
|
|
#define _BIRD_STATS_PUB_H_
|
|
|
|
extern int stats_get_counter(struct symbol *sym);
|
|
#endif
|