diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-04-14 18:23:38 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-04-14 18:23:47 +0200 |
commit | d969447fbb31a42fd0dda4d15356fb2692a0fc1a (patch) | |
tree | 95e5b3a868aa29cc5173f332626c6c75b1f8570a /src/include | |
parent | 79f1546aa9ad2eeead24324000130caeb26b0262 (diff) | |
download | gnunet-d969447fbb31a42fd0dda4d15356fb2692a0fc1a.tar.gz gnunet-d969447fbb31a42fd0dda4d15356fb2692a0fc1a.zip |
work on DV data structures
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_signatures.h | 11 | ||||
-rw-r--r-- | src/include/gnunet_transport_communication_service.h | 3 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/include/gnunet_signatures.h b/src/include/gnunet_signatures.h index 37a4ca1fb..30a4bb761 100644 --- a/src/include/gnunet_signatures.h +++ b/src/include/gnunet_signatures.h | |||
@@ -230,6 +230,17 @@ extern "C" | |||
230 | */ | 230 | */ |
231 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE 35 | 231 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_CHALLENGE 35 |
232 | 232 | ||
233 | /** | ||
234 | * Signature by a peer affirming that it is on a DV path. | ||
235 | */ | ||
236 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_HOP 36 | ||
237 | |||
238 | /** | ||
239 | * Signature by a peer affirming that it originated the | ||
240 | * DV path. | ||
241 | */ | ||
242 | #define GNUNET_SIGNATURE_PURPOSE_TRANSPORT_DV_INITIATOR 37 | ||
243 | |||
233 | 244 | ||
234 | #if 0 /* keep Emacsens' auto-indent happy */ | 245 | #if 0 /* keep Emacsens' auto-indent happy */ |
235 | { | 246 | { |
diff --git a/src/include/gnunet_transport_communication_service.h b/src/include/gnunet_transport_communication_service.h index b4a0ce9c8..ca5a86074 100644 --- a/src/include/gnunet_transport_communication_service.h +++ b/src/include/gnunet_transport_communication_service.h | |||
@@ -83,6 +83,9 @@ struct GNUNET_TRANSPORT_CommunicatorHandle; | |||
83 | 83 | ||
84 | /** | 84 | /** |
85 | * What characteristics does this communicator have? | 85 | * What characteristics does this communicator have? |
86 | * | ||
87 | * FIXME: may want to distinguish bi-directional as well, | ||
88 | * should we define a bit for that? Needed in DV logic (handle_dv_learn)! | ||
86 | */ | 89 | */ |
87 | enum GNUNET_TRANSPORT_CommunicatorCharacteristics { | 90 | enum GNUNET_TRANSPORT_CommunicatorCharacteristics { |
88 | 91 | ||