WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Affero General Public License for more details.
-
+
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
* Backoff for reconnect attempts.
*/
struct GNUNET_TIME_Relative backoff;
-
+
/**
* Peer we want information about.
*/
/**
* Process a local peer info reply, pass info to the user.
*
- * @param cls Closure
+ * @param cls Closure
* @param message Message itself.
*/
static void
{
struct GNUNET_CADET_GetPath *gp = cls;
struct GNUNET_CADET_PeerPathDetail ppd;
-
+
ppd.peer = gp->id;
ppd.path = (const struct GNUNET_PeerIdentity *) &message[1];
+ ppd.target_offset = ntohl (message->off);
ppd.path_length = (ntohs (message->header.size) - sizeof (*message))
/ sizeof (struct GNUNET_PeerIdentity);
gp->path_cb (gp->path_cb_cls,
/**
* Process a local peer info reply, pass info to the user.
*
- * @param cls Closure
+ * @param cls Closure
* @param message Message itself.
*/
static void
gp);
}
-
+
/**
* Reconnect to the service and try again.
*