]> git.ipfire.org Git - thirdparty/bird.git/log
thirdparty/bird.git
5 months agoCheck consistency of the whole trie after every recalculation
Igor Putovny [Thu, 27 Feb 2025 15:24:02 +0000 (16:24 +0100)] 
Check consistency of the whole trie after every recalculation

5 months agoRename
Igor Putovny [Tue, 25 Feb 2025 16:56:36 +0000 (17:56 +0100)] 
Rename

5 months agoBugfix
Igor Putovny [Mon, 24 Feb 2025 16:18:28 +0000 (17:18 +0100)] 
Bugfix

Assign px_origin of target node in the third pass

5 months agoCheck trie consistency after every aggregation run
Igor Putovny [Mon, 24 Feb 2025 16:03:57 +0000 (17:03 +0100)] 
Check trie consistency after every aggregation run

5 months agoAdd more comments
Igor Putovny [Mon, 24 Feb 2025 15:56:53 +0000 (16:56 +0100)] 
Add more comments

5 months agoFix comments
Igor Putovny [Mon, 24 Feb 2025 13:43:54 +0000 (14:43 +0100)] 
Fix comments

5 months agoBugfix
Igor Putovny [Mon, 24 Feb 2025 13:18:48 +0000 (14:18 +0100)] 
Bugfix

Do not add potential bucket during deaggregation, this is done in the second
pass now that the first pass is omitted.
Change node status to FILLER if it's not ORIGINAL during deaggregation.

5 months agoFix
Igor Putovny [Mon, 24 Feb 2025 11:50:21 +0000 (12:50 +0100)] 
Fix

5 months agoFix comments
Igor Putovny [Mon, 24 Feb 2025 11:38:08 +0000 (12:38 +0100)] 
Fix comments

5 months agoAdd prefix to function names, rename
Igor Putovny [Mon, 24 Feb 2025 11:31:56 +0000 (12:31 +0100)] 
Add prefix to function names, rename

5 months agoSplit aggregator.c into two files
Igor Putovny [Fri, 21 Feb 2025 16:09:42 +0000 (17:09 +0100)] 
Split aggregator.c into two files

aggregator.c now contains main protocol functionality, evaluation of route
attributes and operations with buckets

trie.c now contains prefix aggregation and functions that operate on the trie

5 months agoRename
Igor Putovny [Fri, 21 Feb 2025 12:17:02 +0000 (13:17 +0100)] 
Rename

5 months agoSwitch order of expressions in condition testing
Igor Putovny [Fri, 21 Feb 2025 12:04:03 +0000 (13:04 +0100)] 
Switch order of expressions in condition testing

5 months agoReplace assert with ASSERT_DIE
Igor Putovny [Fri, 21 Feb 2025 11:51:14 +0000 (12:51 +0100)] 
Replace assert with ASSERT_DIE

5 months agoMerge branch 'ip-aggregator-new' of https://gitlab.nic.cz/labs/bird into ip-aggregato...
Igor Putovny [Fri, 21 Feb 2025 11:39:53 +0000 (12:39 +0100)] 
Merge branch 'ip-aggregator-new' of https://gitlab.nic.cz/labs/bird into ip-aggregator-new

5 months agoAggregator: Support prefix aggregation
Igor Putovny [Fri, 21 Feb 2025 11:00:14 +0000 (12:00 +0100)] 
Aggregator: Support prefix aggregation

(ready for code review)

5 months agoIP: Getting and setting bits from ip_addr
Igor Putovny [Fri, 21 Feb 2025 10:59:38 +0000 (11:59 +0100)] 
IP: Getting and setting bits from ip_addr

5 months agoSatanize the build to find sus behavior
Igor Putovny [Fri, 21 Feb 2025 10:58:53 +0000 (11:58 +0100)] 
Satanize the build to find sus behavior

5 months agoAutoconf: Merge check and add compiler option to one macro
Igor Putovny [Fri, 21 Feb 2025 10:39:53 +0000 (11:39 +0100)] 
Autoconf: Merge check and add compiler option to one macro

5 months agoBugfix
Igor Putovny [Fri, 21 Feb 2025 10:09:27 +0000 (11:09 +0100)] 
Bugfix

5 months agoRework documentation, add comments
Igor Putovny [Thu, 20 Feb 2025 16:35:32 +0000 (17:35 +0100)] 
Rework documentation, add comments

5 months agoRemove first pass, second pass now fills its function
Igor Putovny [Thu, 20 Feb 2025 16:30:43 +0000 (17:30 +0100)] 
Remove first pass, second pass now fills its function

5 months agoRename
Igor Putovny [Thu, 20 Feb 2025 16:18:16 +0000 (17:18 +0100)] 
Rename

5 months agoAdd another implementation of node_add_potential_bucket()
Igor Putovny [Thu, 20 Feb 2025 16:16:17 +0000 (17:16 +0100)] 
Add another implementation of node_add_potential_bucket()

5 months agoFix formatting
Igor Putovny [Thu, 20 Feb 2025 16:06:29 +0000 (17:06 +0100)] 
Fix formatting

5 months agomemset removed nodes, add const and inline
Igor Putovny [Thu, 20 Feb 2025 13:31:32 +0000 (14:31 +0100)] 
memset removed nodes, add const and inline

5 months agoSet ancestor without another if
Igor Putovny [Wed, 19 Feb 2025 15:57:29 +0000 (16:57 +0100)] 
Set ancestor without another if

5 months agoReplace superfluous else-if with else
Igor Putovny [Wed, 19 Feb 2025 15:24:52 +0000 (16:24 +0100)] 
Replace superfluous else-if with else

5 months agoRemove logs
Igor Putovny [Wed, 19 Feb 2025 13:12:38 +0000 (14:12 +0100)] 
Remove logs

5 months agoRename
Igor Putovny [Wed, 19 Feb 2025 12:52:43 +0000 (13:52 +0100)] 
Rename

5 months agoAdd comments
Igor Putovny [Wed, 19 Feb 2025 11:38:10 +0000 (12:38 +0100)] 
Add comments

5 months agoFix printing prefixes
Igor Putovny [Tue, 18 Feb 2025 16:22:12 +0000 (17:22 +0100)] 
Fix printing prefixes

5 months agoCleanup
Igor Putovny [Tue, 18 Feb 2025 16:20:53 +0000 (17:20 +0100)] 
Cleanup

5 months agoRemove unnecessary else branches
Igor Putovny [Tue, 18 Feb 2025 16:11:59 +0000 (17:11 +0100)] 
Remove unnecessary else branches

5 months agoAdd parentheses to ternary operator expressions
Igor Putovny [Tue, 18 Feb 2025 15:49:01 +0000 (16:49 +0100)] 
Add parentheses to ternary operator expressions
Improve bug messages

5 months agoRefactor deaggregate()
Igor Putovny [Tue, 18 Feb 2025 15:41:12 +0000 (16:41 +0100)] 
Refactor deaggregate()

5 months agoAdd const
Igor Putovny [Tue, 18 Feb 2025 15:29:57 +0000 (16:29 +0100)] 
Add const

5 months agoRename aggregator_process_withdraw()
Igor Putovny [Tue, 18 Feb 2025 15:28:19 +0000 (16:28 +0100)] 
Rename aggregator_process_withdraw()

5 months agoRename choose_lowest_id_bucket()
Igor Putovny [Tue, 18 Feb 2025 15:27:11 +0000 (16:27 +0100)] 
Rename choose_lowest_id_bucket()

5 months agoRename node_insert_potential_bucket()
Igor Putovny [Tue, 18 Feb 2025 15:19:11 +0000 (16:19 +0100)] 
Rename node_insert_potential_bucket()

5 months agoFix typo
Igor Putovny [Tue, 18 Feb 2025 15:14:08 +0000 (16:14 +0100)] 
Fix typo

5 months agoRefactor
Igor Putovny [Tue, 18 Feb 2025 14:22:47 +0000 (15:22 +0100)] 
Refactor

5 months agoSmall changes
Igor Putovny [Fri, 14 Feb 2025 16:51:33 +0000 (17:51 +0100)] 
Small changes

5 months agoCleanup
Igor Putovny [Fri, 14 Feb 2025 16:44:07 +0000 (17:44 +0100)] 
Cleanup

5 months agoRename
Igor Putovny [Fri, 14 Feb 2025 16:12:25 +0000 (17:12 +0100)] 
Rename

5 months agoAdd assertions
Igor Putovny [Fri, 14 Feb 2025 16:07:36 +0000 (17:07 +0100)] 
Add assertions

5 months agoCleanup
Igor Putovny [Thu, 13 Feb 2025 17:28:12 +0000 (18:28 +0100)] 
Cleanup

5 months agoRename
Igor Putovny [Thu, 13 Feb 2025 17:06:06 +0000 (18:06 +0100)] 
Rename

5 months agotrie_insert_prefix() now takes pointer to aggregator_proto
Igor Putovny [Thu, 13 Feb 2025 17:02:51 +0000 (18:02 +0100)] 
trie_insert_prefix() now takes pointer to aggregator_proto

5 months agoRename
Igor Putovny [Thu, 13 Feb 2025 16:53:50 +0000 (17:53 +0100)] 
Rename

5 months agoUse builtin popcount
Igor Putovny [Thu, 13 Feb 2025 16:46:57 +0000 (17:46 +0100)] 
Use builtin popcount

5 months agoRelocate code
Igor Putovny [Thu, 13 Feb 2025 16:30:10 +0000 (17:30 +0100)] 
Relocate code

5 months agoFix errors
Igor Putovny [Thu, 13 Feb 2025 15:29:24 +0000 (16:29 +0100)] 
Fix errors

5 months agoRewrite print_prefixes() using ip_addr instead of net_addr
Igor Putovny [Thu, 13 Feb 2025 15:10:13 +0000 (16:10 +0100)] 
Rewrite print_prefixes() using ip_addr instead of net_addr

5 months agoRewrite dump_trie() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 18:43:08 +0000 (19:43 +0100)] 
Rewrite dump_trie() using ip_addr instead of net_addr

5 months agoRewrite construct_trie() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 18:18:35 +0000 (19:18 +0100)] 
Rewrite construct_trie() using ip_addr instead of net_addr

5 months agoRewrite trie_process() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 18:16:10 +0000 (19:16 +0100)] 
Rewrite trie_process() using ip_addr instead of net_addr

5 months agoRewrite third_pass() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 18:06:57 +0000 (19:06 +0100)] 
Rewrite third_pass() using ip_addr instead of net_addr

5 months agoRewrite find_subtree_prefix() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 17:38:33 +0000 (18:38 +0100)] 
Rewrite find_subtree_prefix() using ip_addr instead of net_addr

5 months agoRewrite trie_remove_prefix() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 17:22:58 +0000 (18:22 +0100)] 
Rewrite trie_remove_prefix() using ip_addr instead of net_addr

5 months agoRewrite prepare_rte_withdrawal() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 17:08:15 +0000 (18:08 +0100)] 
Rewrite prepare_rte_withdrawal() using ip_addr instead of net_addr

5 months agoRewrite trie_insert_prefix() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 16:24:03 +0000 (17:24 +0100)] 
Rewrite trie_insert_prefix() using ip_addr instead of net_addr

5 months agoAdd shift values for ipa bit operations
Igor Putovny [Wed, 12 Feb 2025 16:17:56 +0000 (17:17 +0100)] 
Add shift values for ipa bit operations

5 months agoRewrite create_route() using ip_addr instead of net_addr
Igor Putovny [Wed, 12 Feb 2025 16:12:10 +0000 (17:12 +0100)] 
Rewrite create_route() using ip_addr instead of net_addr

5 months agoRemove collect_prefixes()
Igor Putovny [Wed, 12 Feb 2025 16:07:21 +0000 (17:07 +0100)] 
Remove collect_prefixes()

5 months agoAdd macros for ipa bit operations
Igor Putovny [Wed, 12 Feb 2025 15:49:22 +0000 (16:49 +0100)] 
Add macros for ipa bit operations

5 months agoSmall changes
Igor Putovny [Tue, 11 Feb 2025 13:02:09 +0000 (14:02 +0100)] 
Small changes

5 months agoCreate default route in the thid pass
Igor Putovny [Mon, 10 Feb 2025 16:22:26 +0000 (17:22 +0100)] 
Create default route in the thid pass

5 months agoInitialize root node with NON_FIB status
Igor Putovny [Mon, 10 Feb 2025 15:55:48 +0000 (16:55 +0100)] 
Initialize root node with NON_FIB status

5 months agoBugfix
Igor Putovny [Mon, 10 Feb 2025 15:12:02 +0000 (16:12 +0100)] 
Bugfix

Export new route when node status is changing from NON_FIB or UNASSIGNED to IN_FIB

5 months agoUse net_addr at rte_withdrawal struct, plus small changes
Igor Putovny [Fri, 7 Feb 2025 16:28:53 +0000 (17:28 +0100)] 
Use net_addr at rte_withdrawal struct, plus small changes

5 months agoSmall changes
Igor Putovny [Fri, 7 Feb 2025 15:52:42 +0000 (16:52 +0100)] 
Small changes

5 months agoCleanup
Igor Putovny [Fri, 7 Feb 2025 13:56:01 +0000 (14:56 +0100)] 
Cleanup

5 months agoDo not set IN_FIB status for newly added prefixes
Igor Putovny [Thu, 6 Feb 2025 14:55:02 +0000 (15:55 +0100)] 
Do not set IN_FIB status for newly added prefixes

FIB status now truly reflects whether prefix is in export table or not.
Based on the change of FIB status, third pass can now decide whether
the export or route removal is needed.

5 months agoProcess route withdrawals caused by incorporating updates to the trie
Igor Putovny [Thu, 6 Feb 2025 14:27:53 +0000 (15:27 +0100)] 
Process route withdrawals caused by incorporating updates to the trie

5 months agotrie_remove_prefix() now removes route from the table
Igor Putovny [Thu, 6 Feb 2025 14:18:25 +0000 (15:18 +0100)] 
trie_remove_prefix() now removes route from the table

5 months agoImplement route withdrawal
Igor Putovny [Wed, 5 Feb 2025 18:09:55 +0000 (19:09 +0100)] 
Implement route withdrawal

5 months agoSmall changes
Igor Putovny [Wed, 5 Feb 2025 17:26:03 +0000 (18:26 +0100)] 
Small changes

6 months agoRename
Igor Putovny [Mon, 3 Feb 2025 19:07:00 +0000 (20:07 +0100)] 
Rename

6 months agoCleanup
Igor Putovny [Mon, 3 Feb 2025 19:06:19 +0000 (20:06 +0100)] 
Cleanup

6 months agoAdd assertions
Igor Putovny [Mon, 3 Feb 2025 18:37:19 +0000 (19:37 +0100)] 
Add assertions

6 months agoAdd comments
Igor Putovny [Mon, 3 Feb 2025 17:01:08 +0000 (18:01 +0100)] 
Add comments

6 months agoKeep track of current prefix during third pass
Igor Putovny [Tue, 28 Jan 2025 15:33:48 +0000 (16:33 +0100)] 
Keep track of current prefix during third pass

6 months ago Add find_subtree_prefix()
Igor Putovny [Tue, 28 Jan 2025 15:32:10 +0000 (16:32 +0100)] 
 Add find_subtree_prefix()

6 months agoRename
Igor Putovny [Tue, 28 Jan 2025 11:59:37 +0000 (12:59 +0100)] 
Rename

6 months agoMove static variable to the top
Igor Putovny [Mon, 27 Jan 2025 15:35:33 +0000 (16:35 +0100)] 
Move static variable to the top

6 months agoIncorporate withdrawals to the trie
Igor Putovny [Fri, 24 Jan 2025 16:10:19 +0000 (17:10 +0100)] 
Incorporate withdrawals to the trie

6 months agoDeaggregation runs on the whole subtree
Igor Putovny [Fri, 24 Jan 2025 15:51:57 +0000 (16:51 +0100)] 
Deaggregation runs on the whole subtree

6 months agoIncorporate updates to the trie
Igor Putovny [Fri, 24 Jan 2025 15:19:52 +0000 (16:19 +0100)] 
Incorporate updates to the trie

6 months agoImplement deaggregation
Igor Putovny [Fri, 24 Jan 2025 14:37:06 +0000 (15:37 +0100)] 
Implement deaggregation

6 months agoOverwrite removed nodes with garbage values
Igor Putovny [Fri, 24 Jan 2025 14:30:53 +0000 (15:30 +0100)] 
Overwrite removed nodes with garbage values

6 months agoAdd more checks
Igor Putovny [Fri, 24 Jan 2025 14:13:43 +0000 (15:13 +0100)] 
Add more checks

6 months agoRename
Igor Putovny [Fri, 24 Jan 2025 13:58:54 +0000 (14:58 +0100)] 
Rename

6 months agoRemove unused code
Igor Putovny [Fri, 24 Jan 2025 13:28:10 +0000 (14:28 +0100)] 
Remove unused code

6 months agoOriginal prefix always keeps its status
Igor Putovny [Thu, 23 Jan 2025 16:35:11 +0000 (17:35 +0100)] 
Original prefix always keeps its status

6 months agoMove code around
Igor Putovny [Thu, 23 Jan 2025 16:12:01 +0000 (17:12 +0100)] 
Move code around

6 months agoImplement removing prefix from the trie
Igor Putovny [Fri, 17 Jan 2025 14:10:24 +0000 (15:10 +0100)] 
Implement removing prefix from the trie

6 months agoExtend logging functions
Igor Putovny [Thu, 16 Jan 2025 13:04:59 +0000 (14:04 +0100)] 
Extend logging functions

6 months agoIncrease readability of old code
Igor Putovny [Wed, 15 Jan 2025 16:08:53 +0000 (17:08 +0100)] 
Increase readability of old code

6 months agoAdd comments
Igor Putovny [Mon, 13 Jan 2025 15:41:14 +0000 (16:41 +0100)] 
Add comments