send_connection_ack (struct CadetConnection *c, int fwd)
{
static struct CadetEncryptedMessageIdentifier zero;
- struct GNUNET_CADET_ConnectionCreateMessageAckMessage msg;
+ struct GNUNET_CADET_ConnectionCreateAckMessage msg;
struct CadetTunnel *t;
- const uint16_t size = sizeof (struct GNUNET_CADET_ConnectionCreateMessageAckMessage);
+ const uint16_t size = sizeof (struct GNUNET_CADET_ConnectionCreateAckMessage);
const uint16_t type = GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE_ACK;
GCC_check_connections ();
*/
void
GCC_handle_confirm (struct CadetPeer *peer,
- const struct GNUNET_CADET_ConnectionCreateMessageAckMessage *msg)
+ const struct GNUNET_CADET_ConnectionCreateAckMessage *msg)
{
static struct CadetEncryptedMessageIdentifier zero;
struct CadetConnection *c;
msg = (struct GNUNET_CADET_ConnectionCreateMessage *) cbuf;
msg->header.size = htons (size);
msg->header.type = htons (GNUNET_MESSAGE_TYPE_CADET_CONNECTION_CREATE);
- msg->reserved = htonl (0);
+ msg->options = htonl (0);
msg->cid = *GCC_get_id (c);
peers = (struct GNUNET_PeerIdentity *) &msg[1];
for (int i = 0; i < c->path->length; i++)