aboutsummaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_protocol.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2015-12-12 01:19:33 +0000
committerFlorian Dold <florian.dold@gmail.com>2015-12-12 01:19:33 +0000
commit0f90ccc7e083596607a0cee58173d9578642447f (patch)
tree4f78de5c5c25460652c8eaf1598e2e3a7d211614 /src/set/gnunet-service-set_protocol.h
parent6735421b5aa576407844e37ce40da0e6583a7ab4 (diff)
downloadgnunet-0f90ccc7e083596607a0cee58173d9578642447f.tar.gz
gnunet-0f90ccc7e083596607a0cee58173d9578642447f.zip
Handle larger IBFs correctly.
Diffstat (limited to 'src/set/gnunet-service-set_protocol.h')
-rw-r--r--src/set/gnunet-service-set_protocol.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/set/gnunet-service-set_protocol.h b/src/set/gnunet-service-set_protocol.h
index b96ea0889..263d4b367 100644
--- a/src/set/gnunet-service-set_protocol.h
+++ b/src/set/gnunet-service-set_protocol.h
@@ -80,12 +80,17 @@ struct IBFMessage
80 /** 80 /**
81 * Padding, must be 0. 81 * Padding, must be 0.
82 */ 82 */
83 uint8_t reserved; 83 uint8_t reserved1;
84
85 /**
86 * Padding, must be 0.
87 */
88 uint16_t reserved2 GNUNET_PACKED;
84 89
85 /** 90 /**
86 * Offset of the strata in the rest of the message 91 * Offset of the strata in the rest of the message
87 */ 92 */
88 uint16_t offset GNUNET_PACKED; 93 uint32_t offset GNUNET_PACKED;
89 94
90 /** 95 /**
91 * Salt used when hashing elements for this IBF. 96 * Salt used when hashing elements for this IBF.