]> git.scottworley.com Git - tattlekey/commitdiff
client: Rename: send_report -> send_report_packet
authorScott Worley <scottworley@scottworley.com>
Tue, 10 Oct 2023 04:33:44 +0000 (21:33 -0700)
committerScott Worley <scottworley@scottworley.com>
Wed, 11 Oct 2023 01:49:14 +0000 (18:49 -0700)
client/net.c
client/net.h
client/tattlekey.c

index 9ced48f2864364abaee1083174bdb9472682f102..b38d0a838c15ec451d749c7984a6f63a5106ae54 100644 (file)
@@ -33,7 +33,7 @@ struct tattle_message_wire_format {
   u16_t ago;
 };
 
-void send_report(u16_t seq, u16_t ago) {
+void send_report_packet(u16_t seq, u16_t ago) {
   cyw43_arch_lwip_begin();
 
   initialize_the_pcb();
index 3cc07916e34768600fd99debad96da50d5a66c27..7805cb99d04100ae8916e258823481ecb655f8a8 100644 (file)
@@ -3,6 +3,6 @@
 
 #include "lwip/arch.h"
 
-void send_report(u16_t seq, u16_t ago);
+void send_report_packet(u16_t seq, u16_t ago);
 
 #endif
index c600448cdb590cf56ace165347b09ce8d127bcd0..2fc604b27a338af444a6213fe680c086b2c9f29e 100644 (file)
@@ -78,7 +78,7 @@ void service_sleeps(int alarm, send_t *sleeping_sends, pheap_t *sleeps_heap) {
     pheap_node_id_t i = ph_remove_head(sleeps_heap, false);
     send_t *send = &sleeping_sends[i];
     uint32_t ago = now - send->timestamp;
-    send_report(send->seq, ago);
+    send_report_packet(send->seq, ago);
     send->send_count++;
     if (send->send_count < config_resend_count)
       ph_insert_node(sleeps_heap, i);