diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:00:54 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-14 20:00:54 +0000 |
commit | 7884866ee7cf796384342d104944256192d774a0 (patch) | |
tree | 031dc3976eb2494620198002e220bd0e5a28e423 | |
parent | e29dc6a80c57c9dfdfc0bc2415497ca88b990b30 (diff) | |
download | gnunet-7884866ee7cf796384342d104944256192d774a0.tar.gz gnunet-7884866ee7cf796384342d104944256192d774a0.zip |
more sane numbering
-rw-r--r-- | src/include/gnunet_protocols.h | 237 | ||||
-rw-r--r-- | src/transport/gnunet-service-transport_validation.c | 10 |
2 files changed, 127 insertions, 120 deletions
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h index 9381bb222..59db0cd78 100644 --- a/src/include/gnunet_protocols.h +++ b/src/include/gnunet_protocols.h | |||
@@ -35,23 +35,32 @@ extern "C" | |||
35 | #endif | 35 | #endif |
36 | #endif | 36 | #endif |
37 | 37 | ||
38 | /******************************************************************************* | ||
39 | * UTIL message types | ||
40 | ******************************************************************************/ | ||
41 | |||
38 | /** | 42 | /** |
39 | * Test if service is online. | 43 | * Test if service is online. |
40 | */ | 44 | */ |
41 | #define GNUNET_MESSAGE_TYPE_TEST 1 | 45 | #define GNUNET_MESSAGE_TYPE_TEST 1 |
42 | 46 | ||
47 | /******************************************************************************* | ||
48 | * RESOLVER message types | ||
49 | ******************************************************************************/ | ||
43 | 50 | ||
44 | /** | 51 | /** |
45 | * Request DNS resolution. | 52 | * Request DNS resolution. |
46 | */ | 53 | */ |
47 | #define GNUNET_MESSAGE_TYPE_RESOLVER_REQUEST 2 | 54 | #define GNUNET_MESSAGE_TYPE_RESOLVER_REQUEST 4 |
48 | 55 | ||
49 | /** | 56 | /** |
50 | * Response to a DNS resolution request. | 57 | * Response to a DNS resolution request. |
51 | */ | 58 | */ |
52 | #define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 3 | 59 | #define GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE 5 |
53 | |||
54 | 60 | ||
61 | /******************************************************************************* | ||
62 | * ARM message types | ||
63 | ******************************************************************************/ | ||
55 | 64 | ||
56 | /** | 65 | /** |
57 | * Request to ARM to start a service. | 66 | * Request to ARM to start a service. |
@@ -90,12 +99,20 @@ extern "C" | |||
90 | */ | 99 | */ |
91 | #define GNUNET_MESSAGE_TYPE_ARM_SHUTDOWN_ACK 14 | 100 | #define GNUNET_MESSAGE_TYPE_ARM_SHUTDOWN_ACK 14 |
92 | 101 | ||
102 | /******************************************************************************* | ||
103 | * HELLO message types | ||
104 | ******************************************************************************/ | ||
105 | |||
93 | /** | 106 | /** |
94 | * HELLO message used for communicating peer addresses. | 107 | * HELLO message used for communicating peer addresses. |
95 | * Managed by libgnunethello. | 108 | * Managed by libgnunethello. |
96 | */ | 109 | */ |
97 | #define GNUNET_MESSAGE_TYPE_HELLO 16 | 110 | #define GNUNET_MESSAGE_TYPE_HELLO 16 |
98 | 111 | ||
112 | /******************************************************************************* | ||
113 | * FRAGMENTATION message types | ||
114 | ******************************************************************************/ | ||
115 | |||
99 | /** | 116 | /** |
100 | * FRAGMENT of a larger message. | 117 | * FRAGMENT of a larger message. |
101 | * Managed by libgnunetfragment. | 118 | * Managed by libgnunetfragment. |
@@ -108,6 +125,10 @@ extern "C" | |||
108 | */ | 125 | */ |
109 | #define GNUNET_MESSAGE_TYPE_FRAGMENT_ACK 19 | 126 | #define GNUNET_MESSAGE_TYPE_FRAGMENT_ACK 19 |
110 | 127 | ||
128 | /******************************************************************************* | ||
129 | * TRANSPORT message types | ||
130 | ******************************************************************************/ | ||
131 | |||
111 | /** | 132 | /** |
112 | * Message from the core saying that the transport | 133 | * Message from the core saying that the transport |
113 | * server should start giving it messages. This | 134 | * server should start giving it messages. This |
@@ -134,11 +155,10 @@ extern "C" | |||
134 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SEND 23 | 155 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SEND 23 |
135 | 156 | ||
136 | /** | 157 | /** |
137 | * Confirmation from TRANSPORT that message for | 158 | * Confirmation from TRANSPORT that message for transmission has been |
138 | * transmission has been queued (and that the next | 159 | * queued (and that the next message to this peer can now be passed to |
139 | * message to this peer can now be passed to the | 160 | * the service). Note that this confirmation does NOT imply that the |
140 | * service). Note that this confirmation does NOT | 161 | * message was fully transmitted. |
141 | * imply that the message was fully transmitted. | ||
142 | */ | 162 | */ |
143 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK 24 | 163 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SEND_OK 24 |
144 | 164 | ||
@@ -173,7 +193,6 @@ extern "C" | |||
173 | */ | 193 | */ |
174 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY 30 | 194 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_BLACKLIST_QUERY 30 |
175 | 195 | ||
176 | |||
177 | /** | 196 | /** |
178 | * Reply from blacklisting client (answer to blacklist query). | 197 | * Reply from blacklisting client (answer to blacklist query). |
179 | */ | 198 | */ |
@@ -207,33 +226,51 @@ extern "C" | |||
207 | */ | 226 | */ |
208 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT 36 | 227 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_DISCONNECT 36 |
209 | 228 | ||
229 | /** | ||
230 | * Request to look up addresses of peers. | ||
231 | */ | ||
232 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_PEER_ADDRESS_LOOKUP 37 | ||
210 | 233 | ||
234 | /** | ||
235 | * Request to iterate over all known addresses. | ||
236 | */ | ||
237 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_ITERATE 38 | ||
211 | 238 | ||
212 | /** | 239 | /** |
213 | * Request update and listing of a peer. | 240 | * Message send by a peer to notify the other to keep the session alive. |
214 | */ | 241 | */ |
215 | #define GNUNET_MESSAGE_TYPE_PEERINFO_GET 37 | 242 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE 39 |
243 | |||
244 | /******************************************************************************* | ||
245 | * Transport-WLAN message types | ||
246 | ******************************************************************************/ | ||
216 | 247 | ||
217 | /** | 248 | /** |
218 | * Request update and listing of all peers. | 249 | * Type of messages between the gnunet-wlan-helper and the daemon |
250 | * | ||
219 | */ | 251 | */ |
220 | #define GNUNET_MESSAGE_TYPE_PEERINFO_GET_ALL 38 | 252 | #define GNUNET_MESSAGE_TYPE_WLAN_HELPER_DATA 40 |
221 | 253 | ||
222 | /** | 254 | /** |
223 | * Information about one of the peers. | 255 | * Control messages between the gnunet-wlan-helper and the daemon |
224 | */ | 256 | */ |
225 | #define GNUNET_MESSAGE_TYPE_PEERINFO_INFO 39 | 257 | |
258 | #define GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL 41 | ||
226 | 259 | ||
227 | /** | 260 | /** |
228 | * End of information about other peers. | 261 | * Type of messages for advertisement over wlan |
229 | */ | 262 | */ |
230 | #define GNUNET_MESSAGE_TYPE_PEERINFO_INFO_END 40 | 263 | #define GNUNET_MESSAGE_TYPE_WLAN_ADVERTISEMENT 42 |
231 | 264 | ||
232 | /** | 265 | /** |
233 | * Start notifying this client about all changes to | 266 | * Type of messages for data over the wlan |
234 | * the known peers until it disconnects. | ||
235 | */ | 267 | */ |
236 | #define GNUNET_MESSAGE_TYPE_PEERINFO_NOTIFY 41 | 268 | #define GNUNET_MESSAGE_TYPE_WLAN_DATA 43 |
269 | |||
270 | |||
271 | /******************************************************************************* | ||
272 | * Transport-DV message types | ||
273 | ******************************************************************************/ | ||
237 | 274 | ||
238 | /** | 275 | /** |
239 | * DV service to DV Plugin message, when a message is | 276 | * DV service to DV Plugin message, when a message is |
@@ -275,31 +312,29 @@ extern "C" | |||
275 | */ | 312 | */ |
276 | #define GNUNET_MESSAGE_TYPE_DV_DISCONNECT 50 | 313 | #define GNUNET_MESSAGE_TYPE_DV_DISCONNECT 50 |
277 | 314 | ||
278 | /** | 315 | /******************************************************************************* |
279 | * TCP NAT probe message, send from NAT'd peer to | 316 | * Transport-UDP message types |
280 | * other peer to establish bi-directional communication | 317 | ******************************************************************************/ |
281 | */ | ||
282 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_NAT_PROBE 51 | ||
283 | 318 | ||
284 | /** | 319 | /** |
285 | * Normal UDP message type. | 320 | * Normal UDP message type. |
286 | */ | 321 | */ |
287 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_MESSAGE 52 | 322 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_MESSAGE 56 |
288 | 323 | ||
289 | /** | 324 | /** |
290 | * UDP ACK. | 325 | * UDP ACK. |
291 | */ | 326 | */ |
292 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_ACK 53 | 327 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_UDP_ACK 57 |
293 | 328 | ||
294 | /** | 329 | /******************************************************************************* |
295 | * Request to look up addresses of peers. | 330 | * Transport-TCP message types |
296 | */ | 331 | ******************************************************************************/ |
297 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_PEER_ADDRESS_LOOKUP 59 | ||
298 | 332 | ||
299 | /** | 333 | /** |
300 | * Request to iterate over all known addresses. | 334 | * TCP NAT probe message, send from NAT'd peer to |
335 | * other peer to establish bi-directional communication | ||
301 | */ | 336 | */ |
302 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_ITERATE 60 | 337 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_NAT_PROBE 60 |
303 | 338 | ||
304 | /** | 339 | /** |
305 | * Welcome message between TCP transports. | 340 | * Welcome message between TCP transports. |
@@ -307,15 +342,23 @@ extern "C" | |||
307 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_WELCOME 61 | 342 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_TCP_WELCOME 61 |
308 | 343 | ||
309 | /** | 344 | /** |
310 | * Message to force transport to update bandwidth assignment | 345 | * Message to force transport to update bandwidth assignment (LEGACY) |
311 | */ | 346 | */ |
312 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_ATS 62 | 347 | #define GNUNET_MESSAGE_TYPE_TRANSPORT_ATS 62 |
313 | 348 | ||
349 | /******************************************************************************* | ||
350 | * NAT message types | ||
351 | ******************************************************************************/ | ||
352 | |||
314 | /** | 353 | /** |
315 | * Message to ask NAT server to perform traversal test | 354 | * Message to ask NAT server to perform traversal test |
316 | */ | 355 | */ |
317 | #define GNUNET_MESSAGE_TYPE_NAT_TEST 63 | 356 | #define GNUNET_MESSAGE_TYPE_NAT_TEST 63 |
318 | 357 | ||
358 | /******************************************************************************* | ||
359 | * CORE message types | ||
360 | ******************************************************************************/ | ||
361 | |||
319 | /** | 362 | /** |
320 | * Initial setup message from core client to core. | 363 | * Initial setup message from core client to core. |
321 | */ | 364 | */ |
@@ -440,6 +483,10 @@ extern "C" | |||
440 | */ | 483 | */ |
441 | #define GNUNET_MESSAGE_TYPE_CORE_BINARY_TYPE_MAP 87 | 484 | #define GNUNET_MESSAGE_TYPE_CORE_BINARY_TYPE_MAP 87 |
442 | 485 | ||
486 | /******************************************************************************* | ||
487 | * DATASTORE message types | ||
488 | ******************************************************************************/ | ||
489 | |||
443 | /** | 490 | /** |
444 | * Message sent by datastore client on join. | 491 | * Message sent by datastore client on join. |
445 | */ | 492 | */ |
@@ -506,6 +553,10 @@ extern "C" | |||
506 | #define GNUNET_MESSAGE_TYPE_DATASTORE_DROP 103 | 553 | #define GNUNET_MESSAGE_TYPE_DATASTORE_DROP 103 |
507 | 554 | ||
508 | 555 | ||
556 | /******************************************************************************* | ||
557 | * FS message types | ||
558 | ******************************************************************************/ | ||
559 | |||
509 | /** | 560 | /** |
510 | * Message sent by fs client to start indexing. | 561 | * Message sent by fs client to start indexing. |
511 | */ | 562 | */ |
@@ -569,9 +620,9 @@ extern "C" | |||
569 | #define GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP 139 | 620 | #define GNUNET_MESSAGE_TYPE_FS_MIGRATION_STOP 139 |
570 | 621 | ||
571 | 622 | ||
572 | /** | 623 | /******************************************************************************* |
573 | * DHT Message Types | 624 | * DHT message types |
574 | */ | 625 | ******************************************************************************/ |
575 | 626 | ||
576 | /** | 627 | /** |
577 | * Local DHT route request type | 628 | * Local DHT route request type |
@@ -660,6 +711,10 @@ extern "C" | |||
660 | #define GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT 160 | 711 | #define GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT 160 |
661 | 712 | ||
662 | 713 | ||
714 | /******************************************************************************* | ||
715 | * STATISTICS message types | ||
716 | ******************************************************************************/ | ||
717 | |||
663 | /** | 718 | /** |
664 | * Set a statistical value. | 719 | * Set a statistical value. |
665 | */ | 720 | */ |
@@ -692,6 +747,10 @@ extern "C" | |||
692 | #define GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE 173 | 747 | #define GNUNET_MESSAGE_TYPE_STATISTICS_WATCH_VALUE 173 |
693 | 748 | ||
694 | 749 | ||
750 | /******************************************************************************* | ||
751 | * VPN message types | ||
752 | ******************************************************************************/ | ||
753 | |||
695 | /** | 754 | /** |
696 | * Type of messages between the gnunet-vpn-helper and the daemon | 755 | * Type of messages between the gnunet-vpn-helper and the daemon |
697 | */ | 756 | */ |
@@ -738,42 +797,9 @@ extern "C" | |||
738 | #define GNUNET_MESSAGE_TYPE_REMOTE_TCP_BACK 193 | 797 | #define GNUNET_MESSAGE_TYPE_REMOTE_TCP_BACK 193 |
739 | 798 | ||
740 | 799 | ||
741 | /** | 800 | /******************************************************************************* |
742 | * Type of messages between the gnunet-wlan-helper and the daemon | 801 | * VPN-DNS message types |
743 | * | 802 | ******************************************************************************/ |
744 | */ | ||
745 | |||
746 | #define GNUNET_MESSAGE_TYPE_WLAN_HELPER_DATA 195 | ||
747 | |||
748 | /** | ||
749 | * Control messages between the gnunet-wlan-helper and the daemon | ||
750 | */ | ||
751 | |||
752 | #define GNUNET_MESSAGE_TYPE_WLAN_HELPER_CONTROL 196 | ||
753 | |||
754 | /** | ||
755 | * Type of messages for advertisement over wlan | ||
756 | */ | ||
757 | #define GNUNET_MESSAGE_TYPE_WLAN_ADVERTISEMENT 197 | ||
758 | |||
759 | /** | ||
760 | * Type of messages for data over the wlan | ||
761 | */ | ||
762 | |||
763 | #define GNUNET_MESSAGE_TYPE_WLAN_DATA 198 | ||
764 | |||
765 | /** | ||
766 | * Fragment of a message | ||
767 | */ | ||
768 | |||
769 | #define GNUNET_MESSAGE_TYPE_WLAN_FRAGMENT 199 | ||
770 | |||
771 | /** | ||
772 | * Fragment ack of a message | ||
773 | */ | ||
774 | |||
775 | #define GNUNET_MESSAGE_TYPE_WLAN_FRAGMENT_ACK 200 | ||
776 | |||
777 | 803 | ||
778 | /** | 804 | /** |
779 | * Type of messages to query the local service-dns | 805 | * Type of messages to query the local service-dns |
@@ -797,22 +823,23 @@ extern "C" | |||
797 | #define GNUNET_MESSAGE_TYPE_REMOTE_ANSWER_DNS 209 | 823 | #define GNUNET_MESSAGE_TYPE_REMOTE_ANSWER_DNS 209 |
798 | 824 | ||
799 | 825 | ||
826 | |||
827 | /******************************************************************************* | ||
828 | * MESH message types | ||
829 | ******************************************************************************/ | ||
830 | |||
800 | /** | 831 | /** |
801 | * Type of message used to transport messages throug a MESH-tunnel | 832 | * Type of message used to transport messages throug a MESH-tunnel (LEGACY) |
802 | */ | 833 | */ |
803 | #define GNUNET_MESSAGE_TYPE_MESH 215 | 834 | #define GNUNET_MESSAGE_TYPE_MESH 215 |
804 | 835 | ||
805 | /** | 836 | /** |
806 | * Type of message used to send another peer which messages we want to receive | 837 | * Type of message used to send another peer which messages we want to receive |
807 | * through a mesh-tunnel. | 838 | * through a mesh-tunnel (LEGACY) |
808 | */ | 839 | */ |
809 | #define GNUNET_MESSAGE_TYPE_MESH_HELLO 216 | 840 | #define GNUNET_MESSAGE_TYPE_MESH_HELLO 216 |
810 | 841 | ||
811 | 842 | ||
812 | /******************************************************************************* | ||
813 | * MESH message types START (WiP) | ||
814 | ******************************************************************************/ | ||
815 | |||
816 | /** | 843 | /** |
817 | * Request the creation of a path | 844 | * Request the creation of a path |
818 | */ | 845 | */ |
@@ -910,10 +937,6 @@ extern "C" | |||
910 | */ | 937 | */ |
911 | #define GNUNET_MESSAGE_TYPE_MESH_RESERVE_END 288 | 938 | #define GNUNET_MESSAGE_TYPE_MESH_RESERVE_END 288 |
912 | 939 | ||
913 | /******************************************************************************* | ||
914 | * MESH message types END | ||
915 | ******************************************************************************/ | ||
916 | |||
917 | 940 | ||
918 | 941 | ||
919 | /******************************************************************************* | 942 | /******************************************************************************* |
@@ -985,12 +1008,9 @@ extern "C" | |||
985 | */ | 1008 | */ |
986 | #define GNUNET_MESSAGE_TYPE_CHAT_P2P_CONFIRMATION_RECEIPT 311 | 1009 | #define GNUNET_MESSAGE_TYPE_CHAT_P2P_CONFIRMATION_RECEIPT 311 |
987 | 1010 | ||
988 | /******************************************************************************* | ||
989 | * CHAT message types END | ||
990 | ******************************************************************************/ | ||
991 | 1011 | ||
992 | /******************************************************************************* | 1012 | /******************************************************************************* |
993 | * NSE (network size estimation) message types START | 1013 | * NSE (network size estimation) message types |
994 | ******************************************************************************/ | 1014 | ******************************************************************************/ |
995 | 1015 | ||
996 | /** | 1016 | /** |
@@ -1008,46 +1028,43 @@ extern "C" | |||
1008 | */ | 1028 | */ |
1009 | #define GNUNET_MESSAGE_TYPE_NSE_ESTIMATE 323 | 1029 | #define GNUNET_MESSAGE_TYPE_NSE_ESTIMATE 323 |
1010 | 1030 | ||
1011 | /** | ||
1012 | * Type used to match 'all' message types. | ||
1013 | */ | ||
1014 | #define GNUNET_MESSAGE_TYPE_ALL 65535 | ||
1015 | |||
1016 | /* | ||
1017 | TODO: | ||
1018 | - applications (FS, VPN, TRACEKIT, TBENCH) | ||
1019 | */ | ||
1020 | |||
1021 | |||
1022 | 1031 | ||
1032 | /******************************************************************************* | ||
1033 | * PEERINFO message types | ||
1034 | ******************************************************************************/ | ||
1023 | 1035 | ||
1024 | /* BELOW: experimental student-DHT protocol codes */ | 1036 | /** |
1037 | * Request update and listing of a peer. | ||
1038 | */ | ||
1039 | #define GNUNET_MESSAGE_TYPE_PEERINFO_GET 330 | ||
1025 | 1040 | ||
1026 | /** | 1041 | /** |
1027 | * Request to join a CAN DHT | 1042 | * Request update and listing of all peers. |
1028 | */ | 1043 | */ |
1029 | #define GNUNET_MESSAGE_TYPE_DHT_CAN_JOIN_REQUEST 1174 | 1044 | #define GNUNET_MESSAGE_TYPE_PEERINFO_GET_ALL 331 |
1030 | 1045 | ||
1031 | /** | 1046 | /** |
1032 | * Response to join request of a CAN DHT | 1047 | * Information about one of the peers. |
1033 | */ | 1048 | */ |
1034 | #define GNUNET_MESSAGE_TYPE_DHT_CAN_JOIN_REPLY 1175 | 1049 | #define GNUNET_MESSAGE_TYPE_PEERINFO_INFO 332 |
1035 | 1050 | ||
1036 | /** | 1051 | /** |
1037 | * Messages for swapping locations | 1052 | * End of information about other peers. |
1038 | */ | 1053 | */ |
1039 | #define GNUNET_MESSAGE_TYPE_DHT_GET_NEIGHBOURLIST_REQUEST 1180 | 1054 | #define GNUNET_MESSAGE_TYPE_PEERINFO_INFO_END 333 |
1040 | 1055 | ||
1041 | #define GNUNET_MESSAGE_TYPE_DHT_GET_NEIGHBOURLIST_RESULT 1181 | 1056 | /** |
1057 | * Start notifying this client about all changes to | ||
1058 | * the known peers until it disconnects. | ||
1059 | */ | ||
1060 | #define GNUNET_MESSAGE_TYPE_PEERINFO_NOTIFY 334 | ||
1042 | 1061 | ||
1043 | #define GNUNET_MESSAGE_TYPE_DHT_SWAP_LOCATION_REQUEST 1182 | ||
1044 | 1062 | ||
1045 | #define GNUNET_MESSAGE_TYPE_DHT_SWAP_LOCATION_ACK 1183 | ||
1046 | 1063 | ||
1047 | /** | 1064 | /** |
1048 | * Freenet hello message | 1065 | * Type used to match 'all' message types. |
1049 | */ | 1066 | */ |
1050 | #define GNUNET_MESSAGE_TYPE_DHT_FREENET_HELLO 1184 | 1067 | #define GNUNET_MESSAGE_TYPE_ALL 65535 |
1051 | 1068 | ||
1052 | 1069 | ||
1053 | #if 0 /* keep Emacsens' auto-indent happy */ | 1070 | #if 0 /* keep Emacsens' auto-indent happy */ |
diff --git a/src/transport/gnunet-service-transport_validation.c b/src/transport/gnunet-service-transport_validation.c index cbfd16b7e..e07ff7546 100644 --- a/src/transport/gnunet-service-transport_validation.c +++ b/src/transport/gnunet-service-transport_validation.c | |||
@@ -642,16 +642,6 @@ GST_validation_handle_ping (const struct GNUNET_PeerIdentity *sender, | |||
642 | GNUNET_break_op (0); | 642 | GNUNET_break_op (0); |
643 | return; | 643 | return; |
644 | } | 644 | } |
645 | #if DEBUG_TRANSPORT | ||
646 | GNUNET_log (GNUNET_ERROR_TYPE_DEBUG | GNUNET_ERROR_TYPE_BULK, | ||
647 | "Processing `%s' from `%s'\n", | ||
648 | "PING", | ||
649 | (sender_address != NULL) | ||
650 | ? GST_plugin_a2s (plugin_name, | ||
651 | sender_address, | ||
652 | sender_address_len) | ||
653 | : "<inbound>"); | ||
654 | #endif | ||
655 | GNUNET_STATISTICS_update (GST_stats, | 645 | GNUNET_STATISTICS_update (GST_stats, |
656 | gettext_noop ("# PING messages received"), | 646 | gettext_noop ("# PING messages received"), |
657 | 1, | 647 | 1, |