diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2025-08-12 22:01:43 +0200 |
---|---|---|
committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2025-08-15 11:47:58 +0200 |
commit | 23603e2d74298d0fd4df9858003ad3b7798f0254 (patch) | |
tree | f8f6a078cffb260e24abe05850184d1e2605c136 /include | |
parent | 1c9f509cdaf0233ae4848c05c8bcd0de98bde89a (diff) | |
download | ouroboros-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 'include')
-rw-r--r-- | include/ouroboros/flow.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/ouroboros/flow.h b/include/ouroboros/flow.h index e6bf8886..77b7737e 100644 --- a/include/ouroboros/flow.h +++ b/include/ouroboros/flow.h @@ -27,14 +27,14 @@ #include <sys/types.h> - enum flow_state { /* DO NOT CHANGE ORDER! */ + enum flow_state { /* DO NOT CHANGE ORDER! */ FLOW_INIT = 0, FLOW_ALLOC_PENDING, FLOW_ACCEPT_PENDING, FLOW_ALLOCATED, FLOW_DEALLOC_PENDING, FLOW_DEALLOCATED, - FLOW_DESTROY, /* TODO: REMOVE! */ + FLOW_DESTROY, /* TODO: REMOVE! */ FLOW_NULL }; |