]> git.ipfire.org Git - thirdparty/bird.git/commit
Table import and export are now explicit hooks.
authorMaria Matejka <mq@ucw.cz>
Mon, 21 Jun 2021 15:07:31 +0000 (17:07 +0200)
committerMaria Matejka <mq@ucw.cz>
Mon, 22 Nov 2021 17:33:53 +0000 (18:33 +0100)
commitf81702b7e44ba7f2b264fe14f0f4e1e30913e475
treea40097fcf4687f1b9d33a3ba794e38898bfbab4f
parent3a8197a9dce6fc5d38b089a291ac79d8d394fea1
Table import and export are now explicit hooks.

Channels have now included rt_import_req and rt_export_req to hook into
the table instead of just one list node. This will (in future) allow for:

* channel import and export bound to different tables
* more efficient pipe code (dropping most of the channel code)
* conversion of 'show route' to a special kind of export
* temporary static routes from CLI

The import / export states are also updated to the new algorithms.
12 files changed:
filter/filter.c
nest/config.Y
nest/proto.c
nest/protocol.h
nest/route.h
nest/rt-show.c
nest/rt-table.c
proto/bgp/bgp.c
proto/pipe/pipe.c
proto/rpki/packets.c
proto/static/static.c
sysdep/unix/krt.c