0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-11-09 12:48:43 +00:00
bird/lib
Maria Matejka b287c13f21 Task deferrer: kinda more dumb-resistant macro
Originally, this mechanism required to check whether there's enough time to work
and then to send an event. This macro combines all the logic and goes more straightforwardly
to the _end_ of the export processing loop.

One should note that there were two cases where the export processing loop
was deferred at the _beginning_, which led to ignoring some routes on
reimports. This wasn't easily noticeable in the tests until the one-task
limit got a ceiling on 300 ms to keep reasonable latency.
2024-06-04 10:11:36 +02:00
..
a-path_test.c Renamed nest/rt.h back to nest/route.h 2023-10-29 16:29:26 +01:00
a-path.c Merge branch 'mq-aggregator-for-v3' into HEAD 2023-11-01 10:58:31 +01:00
a-set_test.c Renamed nest/rt.h back to nest/route.h 2023-10-29 16:29:26 +01:00
a-set.c Renamed nest/rt.h back to nest/route.h 2023-10-29 16:29:26 +01:00
alloca.h Several minor fixes 2017-02-20 02:26:45 +01:00
attribute_cleanup_test.c C Compiler Attribute Cleanup Test 2023-11-09 23:08:21 +01:00
attrs.h Merge branch 'mq-aggregator-for-v3' into HEAD 2023-11-01 10:58:31 +01:00
birdlib.h SKIP_BACK_DECLARE: easier embedded-to-parent typecasting 2024-05-25 19:37:16 +02:00
bitmap_test.c Lib: Extend MPLS label allocator bitmap 2023-10-04 13:07:33 +02:00
bitmap.c Merge branch 'mq-aggregator-for-v3' into thread-next 2023-11-09 15:34:59 +01:00
bitmap.h Generalized the rte_src lockfree usecount algorithm 2023-12-04 10:39:32 +01:00
bitops_test.c Bitops: bitflip function 2024-05-18 15:48:03 +02:00
bitops.c Bitops: bitflip function 2024-05-18 15:48:03 +02:00
bitops.h Bitops: bitflip function 2024-05-18 15:48:03 +02:00
blake2-impl.h Lib: Add Blake2s and Blake2b hash functions 2021-06-06 16:26:58 +02:00
blake2-kat.h Lib: Add tests for blake2s and blake2b 2021-06-06 16:28:09 +02:00
blake2.h Lib: Add Blake2s and Blake2b hash functions 2021-06-06 16:26:58 +02:00
blake2b.c Lib: Add Blake2s and Blake2b hash functions 2021-06-06 16:26:58 +02:00
blake2s.c Lib: Add Blake2s and Blake2b hash functions 2021-06-06 16:26:58 +02:00
buffer_test.c Fixed resource initialization in unit tests 2022-03-09 10:30:42 +01:00
buffer.h Filter: Recursive filter iteration code 2021-02-07 19:21:42 +01:00
checksum_test.c Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0 2016-11-11 17:43:09 +01:00
checksum.c unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
checksum.h unsigned [int] -> uint 2015-06-08 02:24:08 +02:00
defer.c Refactored the deferring framework into a separate structure 2024-05-22 11:34:34 +02:00
defer.h Refactored the deferring framework into a separate structure 2024-05-22 11:34:34 +02:00
Doc Doc: Rename code documentation files back to Doc 2018-12-14 02:03:42 +01:00
event_test.c Renamed nest/rt.h back to nest/route.h 2023-10-29 16:29:26 +01:00
event.c Event: fixed race condition between ev_send and ev_postpone 2024-05-18 15:48:03 +02:00
event.h Merge commit 'v2.13.1-168-g5e9cf0ab' into thread-next 2024-01-28 13:40:23 +01:00
fib.h FIB walk macros now allow continue from the loop 2023-11-02 14:37:27 +01:00
fletcher16_test.c Fletcher16 test fixed to work at bigendian architectures. 2020-04-05 01:15:26 +02:00
fletcher16.h OSPF: Redesign LSA checksumming 2015-05-01 14:40:56 +02:00
flowspec_test.c Fixed resource initialization in unit tests 2022-03-09 10:30:42 +01:00
flowspec.c Flowspec: Documentation update 2021-05-18 20:41:01 +02:00
flowspec.h Flowspec: Fix values for true/false operators 2021-05-14 18:44:52 +02:00
hash_test.c Resource pools are now bound with domains. 2023-04-24 10:33:28 +02:00
hash.h Index of different net_addr values for hashing and bit-marking 2024-01-08 09:34:32 +01:00
heap_test.c Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0 2016-11-11 17:43:09 +01:00
heap.h BFD work in progress. 2013-09-16 23:57:40 +02:00
idm.c ID Maps are checking whether their pool is locked 2023-05-11 11:41:01 +02:00
idm.h ID Maps are checking whether their pool is locked 2023-05-11 11:41:01 +02:00
io-loop.h Task deferrer: kinda more dumb-resistant macro 2024-06-04 10:11:36 +02:00
ip_test.c Trie: Simplify network matching code 2021-11-13 21:11:18 +01:00
ip.c Lib: Allow use of 240.0.0.0/4 as a private range 2022-03-16 20:01:18 +01:00
ip.h Filter: Add route attribute gw_mpls_stack 2024-03-05 16:47:08 +01:00
lists_test.c Lists: Replaced replace_node() by update_node() which is the only use of that function. 2020-05-01 15:19:12 +02:00
lists.c Merge commit '0bb04d5390f21b0c96fc4894ba5d5510c541f0ef' into HEAD 2023-02-07 14:27:23 +01:00
lists.h Merge commit '94eb0858' into thread-next 2022-07-18 12:33:00 +02:00
lockfree.c Real almost-lockless feeds and more pull-like exports 2024-06-04 10:11:36 +02:00
lockfree.h Refactored the deferring framework into a separate structure 2024-05-22 11:34:34 +02:00
locking_test.c Locking: Dropping DEFINE_DOMAIN ugly macro 2023-12-04 10:39:32 +01:00
locking.h Avoiding RCU synchronization deadlock when locking in critical section 2024-05-22 11:34:34 +02:00
mac_test.c Lib: Add tests for blake2s and blake2b 2021-06-06 16:28:09 +02:00
mac.c Nest: Allow MAC algorithms to specify min/max key length 2021-06-06 16:28:18 +02:00
mac.h Nest: Allow MAC algorithms to specify min/max key length 2021-06-06 16:28:18 +02:00
macro.h Macro: stringify 2023-02-02 15:57:21 +01:00
Makefile Unit test for RCU 2024-06-04 10:11:36 +02:00
md5.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
md5.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
mempool.c Simplified temporary resources 2024-05-25 19:37:16 +02:00
net.c Net: Replace runtime checks with STATIC_ASSERT() 2023-03-06 11:57:40 +01:00
net.h Net: explicit generic-to-specific typecast with checking 2024-05-18 15:48:03 +02:00
netindex_private.h Netindex: consistency checks and deletion of whole hash 2024-06-04 10:11:36 +02:00
netindex.c Netindex: consistency checks and deletion of whole hash 2024-06-04 10:11:36 +02:00
netindex.h Netindex: consistency checks and deletion of whole hash 2024-06-04 10:11:36 +02:00
patmatch_test.c Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0 2016-11-11 17:43:09 +01:00
patmatch.c Some consts for function arguments 2015-11-24 13:52:26 +01:00
printf_test.c lib/printf_test.c: test on strcmp fixed 2024-05-18 15:48:03 +02:00
printf.c Printf variant with a result allocated inside a pool / linpool 2022-03-15 11:21:46 +01:00
rcu_test.c RCU: Rewritten to be more straightforward 2024-06-04 10:11:36 +02:00
rcu.c RCU: Rewritten to be more straightforward 2024-06-04 10:11:36 +02:00
rcu.h RCU: Rewritten to be more straightforward 2024-06-04 10:11:36 +02:00
resource.c Simplified temporary resources 2024-05-25 19:37:16 +02:00
resource.h If debugging, store a malloc circular log for easier debugging 2024-06-04 10:11:36 +02:00
resource.sgml Fixes for the programmer's manual. 2000-06-08 12:37:21 +00:00
route.h BGP: export table stores routes, reloads and shows in CLI. 2024-06-04 10:11:36 +02:00
settle.h Fixed various build problems on FreeBSD and/or CLang 2023-01-20 18:31:57 +01:00
sha1.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha1.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha256.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha256.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha512.c Add generic message authentication interface 2016-11-02 16:23:53 +01:00
sha512.h Add generic message authentication interface 2016-11-02 16:23:53 +01:00
slab_test.c Slab allocator can free the blocks without knowing the parent structure 2022-04-06 18:14:08 +02:00
slab.c Slab: can be deleted as a single object 2024-06-04 10:11:36 +02:00
slist_test.c Birdtest: Replace BT_SUCCESS and BT_FAILURE with 1 and 0 2016-11-11 17:43:09 +01:00
slists.c Unit Testing for BIRD 2016-11-09 16:36:34 +01:00
slists.h Temporary integrated OSPF commit. 2014-06-26 11:58:57 +02:00
socket.h Merge commit '2c7555cf2ac8439713dd9148b348128c57222a38' into thread-next 2024-01-28 23:01:39 +01:00
string.h Lib: Add functions for reading and writing of bytestrings 2023-08-24 04:19:07 +02:00
strtoul.c Conf: Bytestrings with hex: should use the same general format as ones without. 2023-10-06 04:59:47 +02:00
tbf.c Timers: Fix TBF and some last remains 2017-12-07 13:53:42 +01:00
timer.c Logging: Abolished stdio in favor of write() to make the logging faster. 2023-09-24 20:40:06 +02:00
timer.h IO Loop: provide information about current loop and task time limit 2024-05-18 15:48:03 +02:00
tlists_test.c Typed lists: added add_after() and unit tests 2023-04-22 20:48:42 +02:00
tlists.h Typed list: macro for list length 2024-05-18 15:48:03 +02:00
type_test.c Moved route source attribute (RTS_*) to eattrs 2022-05-04 15:39:53 +02:00
type.h Fix merge commit c195c7a0d5 2024-03-28 17:55:43 +01:00
unaligned.h The MRT protocol 2018-11-20 17:45:35 +01:00
xmalloc.c If debugging, store a malloc circular log for easier debugging 2024-06-04 10:11:36 +02:00