aboutsummaryrefslogtreecommitdiff
path: root/src/mesh/mesh2_protocol.h
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-05-07 12:54:38 +0000
committerBart Polot <bart@net.in.tum.de>2013-05-07 12:54:38 +0000
commitbd4e10f6c1162adf47bbe60ef005cc42a635d5ad (patch)
treeb25b39e4102ba74e5336aeb5211460f2d240af35 /src/mesh/mesh2_protocol.h
parentb3e54688ae46b901bdbf6aa3020d93a04deda9e8 (diff)
downloadgnunet-bd4e10f6c1162adf47bbe60ef005cc42a635d5ad.tar.gz
gnunet-bd4e10f6c1162adf47bbe60ef005cc42a635d5ad.zip
- wip
Diffstat (limited to 'src/mesh/mesh2_protocol.h')
-rw-r--r--src/mesh/mesh2_protocol.h45
1 files changed, 0 insertions, 45 deletions
diff --git a/src/mesh/mesh2_protocol.h b/src/mesh/mesh2_protocol.h
index 01f7f3487..9de407625 100644
--- a/src/mesh/mesh2_protocol.h
+++ b/src/mesh/mesh2_protocol.h
@@ -81,41 +81,6 @@ struct GNUNET_MESH_ManipulatePath
81 /* struct GNUNET_PeerIdentity peers[path_length]; */ 81 /* struct GNUNET_PeerIdentity peers[path_length]; */
82}; 82};
83 83
84/**
85 * Message for mesh data traffic to all tunnel targets.
86 */
87struct GNUNET_MESH_Multicast
88{
89 /**
90 * Type: GNUNET_MESSAGE_TYPE_MESH_MULTICAST
91 */
92 struct GNUNET_MessageHeader header;
93
94 /**
95 * TID of the tunnel
96 */
97 uint32_t tid GNUNET_PACKED;
98
99 /**
100 * Number of hops to live
101 */
102 uint32_t ttl GNUNET_PACKED;
103
104 /**
105 * Unique ID of the packet
106 */
107 uint32_t pid GNUNET_PACKED;
108
109 /**
110 * OID of the tunnel
111 */
112 struct GNUNET_PeerIdentity oid;
113
114 /**
115 * Payload follows
116 */
117};
118
119 84
120/** 85/**
121 * Message for mesh data traffic to a particular destination from origin. 86 * Message for mesh data traffic to a particular destination from origin.
@@ -148,11 +113,6 @@ struct GNUNET_MESH_Unicast
148 struct GNUNET_PeerIdentity oid; 113 struct GNUNET_PeerIdentity oid;
149 114
150 /** 115 /**
151 * Destination.
152 */
153 struct GNUNET_PeerIdentity destination;
154
155 /**
156 * Payload follows 116 * Payload follows
157 */ 117 */
158}; 118};
@@ -189,11 +149,6 @@ struct GNUNET_MESH_ToOrigin
189 struct GNUNET_PeerIdentity oid; 149 struct GNUNET_PeerIdentity oid;
190 150
191 /** 151 /**
192 * Sender of the message.
193 */
194 struct GNUNET_PeerIdentity sender;
195
196 /**
197 * Payload follows 152 * Payload follows
198 */ 153 */
199}; 154};