/**
- * A connection ACK was received for this connection, implying
+ * A CADET_CONNECTION_ACK was received for this connection, implying
* that the end-to-end connection is up. Process it.
*
* @param cc the connection that got the ACK.
GCC_handle_connection_create_ack (struct CadetConnection *cc)
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Received CREATE_ACK for %s in state %d (%s)\n",
+ "Received CADET_CONNECTION_CREATE_ACK for %s in state %d (%s)\n",
GCC_2s (cc),
cc->state,
(GNUNET_YES == cc->mqm_ready) ? "MQM ready" : "MQM busy");
{
if (CADET_CONNECTION_SENT == cc->state)
{
- /* We didn't get the CREATE_ACK, but instead got payload. That's fine,
+ /* We didn't get the CADET_CONNECTION_CREATE_ACK, but instead got payload. That's fine,
clearly something is working, so pretend we got an ACK. */
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Faking connection ACK for %s due to KX\n",
+ "Faking connection CADET_CONNECTION_CREATE_ACK for %s due to KX\n",
GCC_2s (cc));
GCC_handle_connection_create_ack (cc);
}
pids[i + 1] = *GCP_get_id (GCPP_get_peer_at_offset (cc->path,
i));
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Sending CONNECTION_CREATE message for %s\n",
+ "Sending CADET_CONNECTION_CREATE message for %s\n",
GCC_2s (cc));
cc->env = env;
cc->mqm_ready = GNUNET_NO;
{
/* Duplicate CREATE, pass it on, previous one might have been lost! */
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Passing on duplicate CREATE message on connection %s\n",
+ "Passing on duplicate CADET_CONNECTION_CREATE message on connection %s\n",
GNUNET_sh2s (&msg->cid.connection_of_tunnel));
route_message (sender,
&msg->cid,
if (NULL != cc)
{
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Received duplicate CREATE message on connection %s\n",
+ "Received duplicate CADET_CONNECTION_CREATE message on connection %s\n",
GNUNET_sh2s (&msg->cid.connection_of_tunnel));
GCC_handle_duplicate_create (cc);
return;
origin = GCP_get (&pids[0],
GNUNET_YES);
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Received CREATE message from %s for connection %s, building inverse path\n",
+ "Received CADET_CONNECTION_CREATE message from %s for connection %s, building inverse path\n",
GCP_2s (origin),
GNUNET_sh2s (&msg->cid.connection_of_tunnel));
path = GCPP_get_path_from_route (path_length - 1,
struct GNUNET_CADET_ConnectionBrokenMessage *bm;
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Received CONNECTION_CREATE from %s for %s. Next hop %s:%u is down. Sending BROKEN\n",
+ "Received CADET_CONNECTION_CREATE from %s for %s. Next hop %s:%u is down. Sending BROKEN\n",
GCP_2s (sender),
GNUNET_sh2s (&msg->cid.connection_of_tunnel),
GNUNET_i2s (&pids[off + 1]),
/* Workable route, create routing entry */
LOG (GNUNET_ERROR_TYPE_DEBUG,
- "Received CONNECTION_CREATE from %s for %s. Next hop %s:%u is up. Creating route\n",
+ "Received CADET_CONNECTION_CREATE from %s for %s. Next hop %s:%u is up. Creating route\n",
GCP_2s (sender),
GNUNET_sh2s (&msg->cid.connection_of_tunnel),
GNUNET_i2s (&pids[off + 1]),