diff options
author | Christian Grothoff <christian@grothoff.org> | 2013-12-07 22:07:57 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2013-12-07 22:07:57 +0000 |
commit | 0d934264e1c43e20159822baf675a4884857bfcc (patch) | |
tree | 72d444d1747a2a2f99c088b10bebe7b1dce897cb /src/dv | |
parent | 1dcc15b451d79fda1bda12077c78f4a6b73d4a48 (diff) | |
download | gnunet-0d934264e1c43e20159822baf675a4884857bfcc.tar.gz gnunet-0d934264e1c43e20159822baf675a4884857bfcc.zip |
-doxygen
Diffstat (limited to 'src/dv')
-rw-r--r-- | src/dv/gnunet-service-dv.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/dv/gnunet-service-dv.c b/src/dv/gnunet-service-dv.c index 3794a9e0f..9a8b0d575 100644 --- a/src/dv/gnunet-service-dv.c +++ b/src/dv/gnunet-service-dv.c | |||
@@ -1040,7 +1040,7 @@ check_possible_route (void *cls, | |||
1040 | route, | 1040 | route, |
1041 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); | 1041 | GNUNET_CONTAINER_MULTIHASHMAPOPTION_UNIQUE_ONLY)); |
1042 | send_connect_to_plugin (&route->target.peer, ntohl (target->distance), | 1042 | send_connect_to_plugin (&route->target.peer, ntohl (target->distance), |
1043 | neighbor->network); | 1043 | neighbor->network); |
1044 | return GNUNET_YES; | 1044 | return GNUNET_YES; |
1045 | } | 1045 | } |
1046 | 1046 | ||
@@ -1148,9 +1148,9 @@ get_atsi_network (const struct GNUNET_ATS_Information *atsi, | |||
1148 | * | 1148 | * |
1149 | * @param cls the direct neighbor that is now unavailable | 1149 | * @param cls the direct neighbor that is now unavailable |
1150 | * @param key key value stored under | 1150 | * @param key key value stored under |
1151 | * @param value a 'struct Route' that may or may not go via neighbor | 1151 | * @param value a `struct Route` that may or may not go via neighbor |
1152 | * | 1152 | * |
1153 | * @return GNUNET_YES to continue iteration, GNUNET_NO to stop | 1153 | * @return #GNUNET_YES to continue iteration, #GNUNET_NO to stop |
1154 | */ | 1154 | */ |
1155 | static int | 1155 | static int |
1156 | cull_routes (void *cls, | 1156 | cull_routes (void *cls, |
@@ -1247,7 +1247,7 @@ handle_direct_disconnect (struct DirectNeighbor *neighbor) | |||
1247 | * @param bandwidth_out assigned outbound bandwidth for the connection | 1247 | * @param bandwidth_out assigned outbound bandwidth for the connection |
1248 | * @param bandwidth_in assigned inbound bandwidth for the connection | 1248 | * @param bandwidth_in assigned inbound bandwidth for the connection |
1249 | * @param ats performance data for the address (as far as known) | 1249 | * @param ats performance data for the address (as far as known) |
1250 | * @param ats_count number of performance records in 'ats' | 1250 | * @param ats_count number of performance records in @a ats |
1251 | */ | 1251 | */ |
1252 | static void | 1252 | static void |
1253 | handle_ats_update (void *cls, | 1253 | handle_ats_update (void *cls, |
@@ -1319,9 +1319,9 @@ handle_ats_update (void *cls, | |||
1319 | * if we also used it for our route, we need to remove it from our | 1319 | * if we also used it for our route, we need to remove it from our |
1320 | * 'all_routes' set (and later check if an alternative path now exists). | 1320 | * 'all_routes' set (and later check if an alternative path now exists). |
1321 | * | 1321 | * |
1322 | * @param cls the 'struct DirectNeighbor' | 1322 | * @param cls the `struct DirectNeighbor` |
1323 | * @param key peer identity for the target | 1323 | * @param key peer identity for the target |
1324 | * @param value a 'struct Target' previously reachable via the given neighbor | 1324 | * @param value a `struct Target` previously reachable via the given neighbor |
1325 | */ | 1325 | */ |
1326 | static int | 1326 | static int |
1327 | check_target_removed (void *cls, | 1327 | check_target_removed (void *cls, |
@@ -1364,9 +1364,9 @@ check_target_removed (void *cls, | |||
1364 | * Check if a target was added to the set of the other peer; if it | 1364 | * Check if a target was added to the set of the other peer; if it |
1365 | * was added or impoves the existing route, do the needed updates. | 1365 | * was added or impoves the existing route, do the needed updates. |
1366 | * | 1366 | * |
1367 | * @param cls the 'struct DirectNeighbor' | 1367 | * @param cls the `struct DirectNeighbor` |
1368 | * @param key peer identity for the target | 1368 | * @param key peer identity for the target |
1369 | * @param value a 'struct Target' now reachable via the given neighbor | 1369 | * @param value a `struct Target` now reachable via the given neighbor |
1370 | */ | 1370 | */ |
1371 | static int | 1371 | static int |
1372 | check_target_added (void *cls, | 1372 | check_target_added (void *cls, |
@@ -1436,8 +1436,8 @@ check_target_added (void *cls, | |||
1436 | * We have learned a new route from the other peer. Add it to the | 1436 | * We have learned a new route from the other peer. Add it to the |
1437 | * route set we're building. | 1437 | * route set we're building. |
1438 | * | 1438 | * |
1439 | * @param cls the 'struct DirectNeighbor' we're building the consensus with | 1439 | * @param cls the `struct DirectNeighbor` we're building the consensus with |
1440 | * @param element a result element, only valid if status is GNUNET_SET_STATUS_OK | 1440 | * @param element a result element, only valid if status is #GNUNET_SET_STATUS_OK |
1441 | * @param status see enum GNUNET_SET_Status | 1441 | * @param status see enum GNUNET_SET_Status |
1442 | */ | 1442 | */ |
1443 | static void | 1443 | static void |
@@ -1659,7 +1659,7 @@ initiate_set_union (void *cls, | |||
1659 | * @param cls closure | 1659 | * @param cls closure |
1660 | * @param peer peer which sent the message (immediate sender) | 1660 | * @param peer peer which sent the message (immediate sender) |
1661 | * @param message the message | 1661 | * @param message the message |
1662 | * @return GNUNET_OK on success, GNUNET_SYSERR if the other peer violated the protocol | 1662 | * @return #GNUNET_OK on success, #GNUNET_SYSERR if the other peer violated the protocol |
1663 | */ | 1663 | */ |
1664 | static int | 1664 | static int |
1665 | handle_dv_route_message (void *cls, const struct GNUNET_PeerIdentity *peer, | 1665 | handle_dv_route_message (void *cls, const struct GNUNET_PeerIdentity *peer, |