summaryrefslogtreecommitdiffstats
path: root/streaming/rrdpush.h
diff options
context:
space:
mode:
Diffstat (limited to 'streaming/rrdpush.h')
-rw-r--r--streaming/rrdpush.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/streaming/rrdpush.h b/streaming/rrdpush.h
index 222a23bb07..406fdcdcb2 100644
--- a/streaming/rrdpush.h
+++ b/streaming/rrdpush.h
@@ -161,6 +161,8 @@ struct sender_state {
int rrdpush_sender_pipe[2]; // collector to sender thread signaling
int rrdpush_sender_socket;
+ uint16_t hops;
+
#ifdef ENABLE_COMPRESSION
struct compressor_state *compressor;
#endif
@@ -232,6 +234,8 @@ struct receiver_state {
char read_buffer[PLUGINSD_LINE_MAX + 1];
int read_len;
+ uint16_t hops;
+
struct {
bool shutdown; // signal the streaming parser to exit
const char *reason; // the reason of disconnection to log