]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Rename
authorIgor Putovny <igor.putovny@nic.cz>
Mon, 3 Feb 2025 19:07:00 +0000 (20:07 +0100)
committerIgor Putovny <igor.putovny@nic.cz>
Mon, 3 Feb 2025 19:07:00 +0000 (20:07 +0100)
proto/aggregator/aggregator.c

index 8b924b82178bfcd16e775b8b6bb27bf855f85048..247b9a8a7b966046aad8e5f2164beb3b6aea85a1 100644 (file)
@@ -973,7 +973,7 @@ static void dump_trie(const struct trie_node *);
 static void print_prefixes(const struct trie_node *, int);
 
 static void
-trie_receive_update(struct aggregator_proto *p, struct aggregator_route *old, struct aggregator_route *new)
+trie_process_update(struct aggregator_proto *p, struct aggregator_route *old, struct aggregator_route *new)
 {
   assert(p != NULL);
   assert(new != NULL);
@@ -1043,7 +1043,7 @@ trie_receive_update(struct aggregator_proto *p, struct aggregator_route *old, st
 }
 
 static void
-trie_receive_withdraw(struct aggregator_proto *p, struct aggregator_route *old)
+trie_process_withdraw(struct aggregator_proto *p, struct aggregator_route *old)
 {
   assert(p != NULL);
   assert(old != NULL);
@@ -2174,12 +2174,12 @@ aggregator_rt_notify(struct proto *P, struct channel *src_ch, net *net, rte *new
         else if (!old && new)
           log("rt notify: announce");
 
-        trie_receive_update(p, old_route, new_route);
+        trie_process_update(p, old_route, new_route);
       }
       else if (old && !new)
       {
         log("rt notify: withdraw");
-        trie_receive_withdraw(p, old_route);
+        trie_process_withdraw(p, old_route);
       }
     }
   }