diff options
author | Christian Grothoff <christian@grothoff.org> | 2014-05-27 09:10:21 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2014-05-27 09:10:21 +0000 |
commit | c729ba3d33c044ffac990237330c11a15ae487fd (patch) | |
tree | dbbebe3382855667d0348d1875b3b8b675986841 /src/include/gnunet_dht_service.h | |
parent | f73ef0a224749c6cda11a01506fcdb47531f9206 (diff) | |
download | gnunet-c729ba3d33c044ffac990237330c11a15ae487fd.tar.gz gnunet-c729ba3d33c044ffac990237330c11a15ae487fd.zip |
enable DHT monitors to distinguish routing requests from requests that terminate at the local node (for GET/PUT, not for replies)
Diffstat (limited to 'src/include/gnunet_dht_service.h')
-rw-r--r-- | src/include/gnunet_dht_service.h | 7 |
1 files changed, 6 insertions, 1 deletions
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 | |||
95 | /** | 95 | /** |
96 | * Possible message option for query key randomization. | 96 | * Possible message option for query key randomization. |
97 | */ | 97 | */ |
98 | GNUNET_DHT_RO_BART = 8 | 98 | GNUNET_DHT_RO_BART = 8, |
99 | |||
100 | /** | ||
101 | * Flag given to monitors if this was the last hop for a GET/PUT. | ||
102 | */ | ||
103 | GNUNET_DHT_RO_LAST_HOP = 16 | ||
99 | }; | 104 | }; |
100 | 105 | ||
101 | 106 | ||