]> git.ipfire.org Git - thirdparty/bird.git/commit
Protocol stats: a WIP implementation of conditional routes
authorVojtech Vilimek <vojtech.vilimek@nic.cz>
Wed, 13 Jul 2022 13:39:14 +0000 (15:39 +0200)
committerMaria Matejka <mq@ucw.cz>
Tue, 26 Sep 2023 08:42:28 +0000 (10:42 +0200)
commitd648c6b602a6c2b927cc64e024f6d167ceb8c5c3
treeb04786a8244c98fc4507a9f0de1fa83e364ad886
parent860fbf0d657d8e0b34b6fb2ff72c90f4030ed7ef
Protocol stats: a WIP implementation of conditional routes

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!
17 files changed:
conf/conf.h
configure.ac
doc/bird.sgml
filter/config.Y
filter/f-inst.c
filter/filter.c
lib/timer.c
lib/timer.h
nest/proto.c
nest/protocol.h
proto/Doc
proto/stats/Doc [new file with mode: 0644]
proto/stats/Makefile [new file with mode: 0644]
proto/stats/config.Y [new file with mode: 0644]
proto/stats/stats-pub.h [new file with mode: 0644]
proto/stats/stats.c [new file with mode: 0644]
proto/stats/stats.h [new file with mode: 0644]