summaryrefslogtreecommitdiff
path: root/src/irmd/reg/flow.h
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2025-08-12 22:01:43 +0200
committerDimitri Staessens <dimitri@ouroboros.rocks>2025-08-15 11:47:58 +0200
commit23603e2d74298d0fd4df9858003ad3b7798f0254 (patch)
treef8f6a078cffb260e24abe05850184d1e2605c136 /src/irmd/reg/flow.h
parent1c9f509cdaf0233ae4848c05c8bcd0de98bde89a (diff)
downloadouroboros-23603e2d74298d0fd4df9858003ad3b7798f0254.tar.gz
ouroboros-23603e2d74298d0fd4df9858003ad3b7798f0254.zip
irmd: Resolve name when flow request arrives
This makes the IRMd a bit simpler, and we only need to do the lookup to resolve the name for a hash on the server side only once. The logging is also symmetric now: irmd(II): Allocating flow for 93317 to unicast.1. irmd(II): Flow request arrived for unicast.1. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
Diffstat (limited to 'src/irmd/reg/flow.h')
-rw-r--r--src/irmd/reg/flow.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/irmd/reg/flow.h b/src/irmd/reg/flow.h
index 75ada971..b0f0c51c 100644
--- a/src/irmd/reg/flow.h
+++ b/src/irmd/reg/flow.h
@@ -34,12 +34,12 @@
#include <time.h>
struct reg_flow {
- struct list_head next;
+ struct list_head next;
- struct flow_info info;
+ struct flow_info info;
- buffer_t data;
- struct timespec t0;
+ buffer_t data;
+ struct timespec t0;
struct shm_rbuff * n_rb;
struct shm_rbuff * n_1_rb;