]> git.ipfire.org Git - thirdparty/bird.git/commit
BGP: export table stores routes, reloads and shows in CLI.
authorMaria Matejka <mq@ucw.cz>
Wed, 29 May 2024 07:33:42 +0000 (09:33 +0200)
committerMaria Matejka <mq@ucw.cz>
Tue, 4 Jun 2024 08:11:36 +0000 (10:11 +0200)
commit7a169e46a8f1a30cf98eae1cd9c7627c70e8f74c
treedab3c20df40764f5e8c1e92f64e2666fb93edc45
parentf8e3ea940290c69bc64eca2b1bf947c8898c7f4b
BGP: export table stores routes, reloads and shows in CLI.

In future, this and rtable's data structures should be probably merged
but it isn't a good idea to do now. The used data structure is similar
to rtable -- an array of pointers to linked lists.

Feed is lockless, as with all tables.

Full export (receiving updates) is not supported yet but we don't have
any method how to use it anyway. Gonna implement it later.
12 files changed:
doc/bird.sgml
lib/route.h
nest/config.Y
nest/route.h
nest/rt-export.c
nest/rt-show.c
nest/rt-table.c
proto/bgp/attrs.c
proto/bgp/bgp.c
proto/bgp/bgp.h
proto/bgp/config.Y
proto/bgp/packets.c