summaryrefslogtreecommitdiffstats
path: root/src/ufo-roof-config.h
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2020-03-08 16:23:41 +0100
committerSuren A. Chilingaryan <csa@suren.me>2020-03-08 16:23:41 +0100
commit7b2e6168b049be9e7852b2d364d897592eff69fc (patch)
tree65b043a0d0583d03a55db697e228fa30ffb3061c /src/ufo-roof-config.h
parent0fa60586c49c2ba10f1e24c6533ebf4980372f2f (diff)
downloadufo-roof-temp-7b2e6168b049be9e7852b2d364d897592eff69fc.tar.gz
ufo-roof-temp-7b2e6168b049be9e7852b2d364d897592eff69fc.tar.bz2
ufo-roof-temp-7b2e6168b049be9e7852b2d364d897592eff69fc.tar.xz
ufo-roof-temp-7b2e6168b049be9e7852b2d364d897592eff69fc.zip
Fix 64-bit ids, ROOF ids are big-endian, skip incomplete datasets at the end and if with specified latency, try to reconstruct from desynchronized streams (harmful, debugging only)
Diffstat (limited to 'src/ufo-roof-config.h')
-rw-r--r--src/ufo-roof-config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ufo-roof-config.h b/src/ufo-roof-config.h
index 34bef0b..8718381 100644
--- a/src/ufo-roof-config.h
+++ b/src/ufo-roof-config.h
@@ -37,6 +37,7 @@ typedef struct {
guint max_packet_size; // payload_size + header_size + ... (we don't care if tail is variable length provided that the complete packet does not exceed max_packet_size bytes)
guint buffer_size; // How many datasets we can buffer. There is no sense to have more than 2 for odered protocols (default), but having larger number could help for UDP if significant order disturbances are expected
guint drop_buffers; // If we are slow and lost some buffers, we may drop more than minimally necessary to catch up.
+ guint latency_buffers; // We skip incomplete buffers if later (at least latency_buffer in future) dataset is already ready, 0 - never skip
guint network_timeout; // Maximum time (us) to wait for data on the socket