aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBart Polot <bart@net.in.tum.de>2013-07-08 11:40:39 +0000
committerBart Polot <bart@net.in.tum.de>2013-07-08 11:40:39 +0000
commit62cd6b3232f122589a6f3e64f97fabf688e0fff9 (patch)
tree7d5b113b19e52d831bc346d2da432304415dd65e /src
parentf3d34f64ea0087558be197a061bbf91ceefb1506 (diff)
downloadgnunet-62cd6b3232f122589a6f3e64f97fabf688e0fff9.tar.gz
gnunet-62cd6b3232f122589a6f3e64f97fabf688e0fff9.zip
- update message_to_string
Diffstat (limited to 'src')
-rw-r--r--src/mesh/mesh_common.c68
1 files changed, 4 insertions, 64 deletions
diff --git a/src/mesh/mesh_common.c b/src/mesh/mesh_common.c
index 228b30aec..d3a26cd7c 100644
--- a/src/mesh/mesh_common.c
+++ b/src/mesh/mesh_common.c
@@ -75,7 +75,7 @@ GNUNET_MESH_DEBUG_M2S (uint16_t m)
75 /** 75 /**
76 * Request the modification of an existing path 76 * Request the modification of an existing path
77 */ 77 */
78 case 257: return "GNUNET_MESSAGE_TYPE_MESH_PATH_CHANGE"; 78 case 257: return "GNUNET_MESSAGE_TYPE_MESH_PATH_ACK";
79 79
80 /** 80 /**
81 * Notify that a connection of a path is no longer valid 81 * Notify that a connection of a path is no longer valid
@@ -93,11 +93,6 @@ GNUNET_MESH_DEBUG_M2S (uint16_t m)
93 case 260: return "GNUNET_MESSAGE_TYPE_MESH_UNICAST"; 93 case 260: return "GNUNET_MESSAGE_TYPE_MESH_UNICAST";
94 94
95 /** 95 /**
96 * Transport data to all peers in a tunnel
97 */
98 case 261: return "GNUNET_MESSAGE_TYPE_MESH_MULTICAST";
99
100 /**
101 * Transport data back in the mesh (end->origin) 96 * Transport data back in the mesh (end->origin)
102 */ 97 */
103 case 262: return "GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN"; 98 case 262: return "GNUNET_MESSAGE_TYPE_MESH_TO_ORIGIN";
@@ -105,7 +100,7 @@ GNUNET_MESH_DEBUG_M2S (uint16_t m)
105 /** 100 /**
106 * Send origin an ACK that the path is complete 101 * Send origin an ACK that the path is complete
107 */ 102 */
108 case 263: return "GNUNET_MESSAGE_TYPE_MESH_PATH_ACK"; 103 case 263: return "GNUNET_MESSAGE_TYPE_MESH_DATA_ACK";
109 104
110 /** 105 /**
111 * Avoid path timeouts 106 * Avoid path timeouts
@@ -148,61 +143,6 @@ GNUNET_MESH_DEBUG_M2S (uint16_t m)
148 case 274: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY"; 143 case 274: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_DESTROY";
149 144
150 /** 145 /**
151 * Ask the mesh service to add a peer to an existing tunnel
152 */
153 case 275: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD";
154
155 /**
156 * Ask the mesh service to remove a peer from a tunnel
157 */
158 case 276: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_DEL";
159
160 /**
161 * Ask the mesh service to add a peer offering a service to an existing tunnel
162 */
163 case 277: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD_BY_TYPE";
164
165 /**
166 * Ask the mesh service to add a peer described by a service string
167 */
168 case 278: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_ANNOUNCE_REGEX";
169
170 /**
171 * Ask the mesh service to add a peer described by a service string
172 */
173 case 279: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_ADD_BY_STRING";
174
175 /**
176 * Ask the mesh service to add a peer to the blacklist of an existing tunnel
177 */
178 case 280: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_BLACKLIST";
179
180 /**
181 * Ask the mesh service to remove a peer from the blacklist of a tunnel
182 */
183 case 281: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_PEER_UNBLACKLIST";
184
185 /**
186 * Set tunnel speed to slowest peer
187 */
188 case 282: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_MIN";
189
190 /**
191 * Set tunnel speed to fastest peer
192 */
193 case 283: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_MAX";
194
195 /**
196 * Set tunnel buffering on.
197 */
198 case 284: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_BUFFER";
199
200 /**
201 * Set tunnel buffering off.
202 */
203 case 285: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_TUNNEL_NOBUFFER";
204
205 /**
206 * Local ACK for data. 146 * Local ACK for data.
207 */ 147 */
208 case 286: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_ACK"; 148 case 286: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_ACK";
@@ -210,12 +150,12 @@ GNUNET_MESH_DEBUG_M2S (uint16_t m)
210 /** 150 /**
211 * Local monitoring of service. 151 * Local monitoring of service.
212 */ 152 */
213 case 287: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_MONITOR"; 153 case 287: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNELS";
214 154
215 /** 155 /**
216 * Local monitoring of service of a specific tunnel. 156 * Local monitoring of service of a specific tunnel.
217 */ 157 */
218 case 288: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_MONITOR_TUNNEL"; 158 case 288: return "GNUNET_MESSAGE_TYPE_MESH_LOCAL_INFO_TUNNEL";
219 159
220 /** 160 /**
221 * 640kb should be enough for everybody 161 * 640kb should be enough for everybody