aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh_protocol.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2011-08-03 23:31:50 +0000
committerBart Polot <bart@net.in.tum.de>2011-08-03 23:31:50 +0000
commitaa4361ff05e8cecfa11ca0d1fdc94be0503db07b (patch)
tree93177a4adf4573c5f2827950fd0cf513711a7b14 /src/mesh/mesh_protocol.h
parentd0599c9532164b6edfa2cafc47eba88e6f0c5c0d (diff)
downloadgnunet-aa4361ff05e8cecfa11ca0d1fdc94be0503db07b.tar.gz
gnunet-aa4361ff05e8cecfa11ca0d1fdc94be0503db07b.zip
Added real ACK for path acknowledgement
Diffstat (limited to 'src/mesh/mesh_protocol.h')
-rw-r--r--src/mesh/mesh_protocol.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/mesh/mesh_protocol.h b/src/mesh/mesh_protocol.h
index c18d56400..8868d0c66 100644
--- a/src/mesh/mesh_protocol.h
+++ b/src/mesh/mesh_protocol.h
@@ -151,6 +151,31 @@ struct GNUNET_MESH_DataMessageToOrigin
151 */ 151 */
152}; 152};
153 153
154
155/**
156 * Message for ack'ing a path
157 */
158struct GNUNET_MESH_PathACK
159{
160 /**
161 * Type: GNUNET_MESSAGE_TYPE_PATH_ACK
162 */
163 struct GNUNET_MessageHeader header;
164
165 /**
166 * TID of the tunnel
167 */
168 uint32_t tid GNUNET_PACKED;
169
170 /**
171 * OID of the tunnel
172 */
173 struct GNUNET_PeerIdentity oid;
174
175 /* TODO: signature */
176};
177
178
154/** 179/**
155 * Message for mesh flow control 180 * Message for mesh flow control
156 */ 181 */