From c729ba3d33c044ffac990237330c11a15ae487fd Mon Sep 17 00:00:00 2001 From: Christian Grothoff Date: Tue, 27 May 2014 09:10:21 +0000 Subject: enable DHT monitors to distinguish routing requests from requests that terminate at the local node (for GET/PUT, not for replies) --- src/include/gnunet_dht_service.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/include') diff --git a/src/include/gnunet_dht_service.h b/src/include/gnunet_dht_service.h index 3e59f2b6d..33c6551db 100644 --- a/src/include/gnunet_dht_service.h +++ b/src/include/gnunet_dht_service.h @@ -95,7 +95,12 @@ enum GNUNET_DHT_RouteOption /** * Possible message option for query key randomization. */ - GNUNET_DHT_RO_BART = 8 + GNUNET_DHT_RO_BART = 8, + + /** + * Flag given to monitors if this was the last hop for a GET/PUT. + */ + GNUNET_DHT_RO_LAST_HOP = 16 }; -- cgit v1.2.3