struct GNUNET_MessageHeader header;
/**
- * ID of the connection for that tunnel.
- */
- uint32_t cid GNUNET_PACKED;
-
- /**
- * ID of the tunnel
+ * ID of the connection
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
/**
* path_length structs defining the *whole* path from the origin [0] to the
struct GNUNET_MessageHeader header;
/**
- * ID of the connection
+ * Always 0.
*/
- uint32_t cid GNUNET_PACKED;
+ uint32_t reserved GNUNET_PACKED;
/**
- * ID of the tunnel
+ * ID of the connection.
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
/* TODO: signature */
};
struct GNUNET_MessageHeader header;
/**
- * ID of the connection.
+ * ID of the packet (hop by hop).
*/
- uint32_t cid GNUNET_PACKED;
+ uint32_t pid GNUNET_PACKED;
/**
- * ID of the tunnel.
+ * ID of the connection.
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
/**
- * ID of the packet (hop by hop).
+ * Initialization Vector for payload encryption.
*/
- uint32_t pid GNUNET_PACKED;
+ uint64_t iv GNUNET_PACKED;
/**
* Number of hops to live.
uint32_t ttl GNUNET_PACKED;
/**
- * Initialization Vector for payload encryption.
+ * Always 0.
*/
- uint64_t iv;
+ uint32_t reserved GNUNET_PACKED;
/**
* Encrypted content follows.
/**
- * Message to acknowledge mesh data traffic.
+ * Message to acknowledge mesh encrypted traffic.
*/
struct GNUNET_MESH_ACK
{
uint32_t ack GNUNET_PACKED;
/**
- * ID of the tunnel
- */
- struct GNUNET_HashCode tid;
-
- /**
- * ID of the connection
+ * ID of the connection.
*/
- uint32_t cid GNUNET_PACKED;
+ struct GNUNET_HashCode cid;
};
uint32_t pid GNUNET_PACKED;
/**
- * ID of the tunnel
+ * ID of the connection.
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
- /**
- * ID of the connection
- */
- uint32_t cid GNUNET_PACKED;
};
struct GNUNET_MessageHeader header;
/**
- * ID of the connection.
+ * Always 0.
*/
- uint32_t cid GNUNET_PACKED;
+ uint32_t reserved GNUNET_PACKED;
/**
- * ID of the tunnel
+ * ID of the connection.
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
/**
* ID of the endpoint
struct GNUNET_MessageHeader header;
/**
- * ID of the connection.
+ * Always 0.
*/
- uint32_t cid GNUNET_PACKED;
+ uint32_t reserved GNUNET_PACKED;
/**
- * ID of the tunnel
+ * ID of the connection.
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
/* TODO: signature */
};
struct GNUNET_MessageHeader header;
/**
- * ID of the connection
+ * Always 0.
*/
- uint32_t cid GNUNET_PACKED;
+ uint32_t reserved GNUNET_PACKED;
/**
- * ID of the tunnel
+ * ID of the connection.
*/
- struct GNUNET_HashCode tid;
+ struct GNUNET_HashCode cid;
};