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.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/dht/dht.h b/src/dht/dht.h
index 86fbc16bb..f630e5a33 100644
--- a/src/dht/dht.h
+++ b/src/dht/dht.h
@@ -441,6 +441,24 @@ struct GNUNET_DHT_MonitorGetRespMessage
441 441
442}; 442};
443 443
444#if ENABLE_MALICIOUS
445/**
446 * Message to turn the service malicious
447 */
448struct GNUNET_DHT_ActMaliciousMessage
449{
450 /**
451 * Type: #GNUNET_MESSAGE_TYPE_ACT_MALICIOUS
452 */
453 struct GNUNET_MessageHeader header;
454
455 /**
456 * Type of malicious behaviour expected; 0 turning peer benign
457 */
458 uint32_t action;
459};
460#endif
461
444GNUNET_NETWORK_STRUCT_END 462GNUNET_NETWORK_STRUCT_END
445 463
446#endif 464#endif