summaryrefslogtreecommitdiff
path: root/src/set/gnunet-service-set_protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/set/gnunet-service-set_protocol.h')
-rw-r--r--src/set/gnunet-service-set_protocol.h26
1 files changed, 9 insertions, 17 deletions
diff --git a/src/set/gnunet-service-set_protocol.h b/src/set/gnunet-service-set_protocol.h
index 13f90a6df..529fed64c 100644
--- a/src/set/gnunet-service-set_protocol.h
+++ b/src/set/gnunet-service-set_protocol.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20/** 20/**
21 * @author Florian Dold 21 * @author Florian Dold
22 * @author Christian Grothoff 22 * @author Christian Grothoff
@@ -32,8 +32,7 @@
32 32
33GNUNET_NETWORK_STRUCT_BEGIN 33GNUNET_NETWORK_STRUCT_BEGIN
34 34
35struct OperationRequestMessage 35struct OperationRequestMessage {
36{
37 /** 36 /**
38 * Type: #GNUNET_MESSAGE_TYPE_SET_P2P_OPERATION_REQUEST 37 * Type: #GNUNET_MESSAGE_TYPE_SET_P2P_OPERATION_REQUEST
39 */ 38 */
@@ -64,8 +63,7 @@ struct OperationRequestMessage
64 * If an IBF has too many buckets for an IBF message, 63 * If an IBF has too many buckets for an IBF message,
65 * it is split into multiple messages. 64 * it is split into multiple messages.
66 */ 65 */
67struct IBFMessage 66struct IBFMessage {
68{
69 /** 67 /**
70 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF 68 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF
71 */ 69 */
@@ -101,8 +99,7 @@ struct IBFMessage
101}; 99};
102 100
103 101
104struct InquiryMessage 102struct InquiryMessage {
105{
106 /** 103 /**
107 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF 104 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_IBF
108 */ 105 */
@@ -127,8 +124,7 @@ struct InquiryMessage
127 * send it the number of elements in the set, to allow the peers 124 * send it the number of elements in the set, to allow the peers
128 * to decide who should start with the Bloom filter. 125 * to decide who should start with the Bloom filter.
129 */ 126 */
130struct IntersectionElementInfoMessage 127struct IntersectionElementInfoMessage {
131{
132 /** 128 /**
133 * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_ELEMENT_INFO 129 * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_ELEMENT_INFO
134 */ 130 */
@@ -138,15 +134,13 @@ struct IntersectionElementInfoMessage
138 * mutator used with this bloomfilter. 134 * mutator used with this bloomfilter.
139 */ 135 */
140 uint32_t sender_element_count GNUNET_PACKED; 136 uint32_t sender_element_count GNUNET_PACKED;
141
142}; 137};
143 138
144 139
145/** 140/**
146 * Bloom filter messages exchanged for set intersection calculation. 141 * Bloom filter messages exchanged for set intersection calculation.
147 */ 142 */
148struct BFMessage 143struct BFMessage {
149{
150 /** 144 /**
151 * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_BF 145 * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_BF
152 */ 146 */
@@ -190,8 +184,7 @@ struct BFMessage
190 * by getting the empty set, which in that case also needs to be 184 * by getting the empty set, which in that case also needs to be
191 * communicated. 185 * communicated.
192 */ 186 */
193struct IntersectionDoneMessage 187struct IntersectionDoneMessage {
194{
195 /** 188 /**
196 * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_DONE 189 * Type: #GNUNET_MESSAGE_TYPE_SET_INTERSECTION_P2P_DONE
197 */ 190 */
@@ -212,8 +205,7 @@ struct IntersectionDoneMessage
212/** 205/**
213 * Strata estimator together with the peer's overall set size. 206 * Strata estimator together with the peer's overall set size.
214 */ 207 */
215struct StrataEstimatorMessage 208struct StrataEstimatorMessage {
216{
217 /** 209 /**
218 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C) 210 * Type: #GNUNET_MESSAGE_TYPE_SET_UNION_P2P_SE(C)
219 */ 211 */