aboutsummaryrefslogtreecommitdiff
path: root/src/dht/dht.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dht/dht.h')
-rw-r--r--src/dht/dht.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h
index f630e5a33..524cb4bda 100644
--- a/src/dht/dht.h
+++ b/src/dht/dht.h
@@ -442,6 +442,19 @@ struct GNUNET_DHT_MonitorGetRespMessage
442}; 442};
443 443
444#if ENABLE_MALICIOUS 444#if ENABLE_MALICIOUS
445
446/**
447 * Message to confirming receipt of ACT MALICIOUS, sent from DHT service to clients.
448 */
449struct GNUNET_DHT_ClientActMaliciousConfirmationMessage
450{
451 /**
452 * Type: #GNUNET_MESSAGE_TYPE_DHT_CLIENT_PUT_OK
453 */
454 struct GNUNET_MessageHeader header;
455};
456
457
445/** 458/**
446 * Message to turn the service malicious 459 * Message to turn the service malicious
447 */ 460 */
@@ -453,7 +466,7 @@ struct GNUNET_DHT_ActMaliciousMessage
453 struct GNUNET_MessageHeader header; 466 struct GNUNET_MessageHeader header;
454 467
455 /** 468 /**
456 * Type of malicious behaviour expected; 0 turning peer benign 469 * If set to 1, act maliciously
457 */ 470 */
458 uint32_t action; 471 uint32_t action;
459}; 472};