aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.c4
-rw-r--r--src/transport/gnunet-service-transport_blacklist.c2
-rw-r--r--src/transport/gnunet-service-transport_clients.c4
-rw-r--r--src/transport/gnunet-service-transport_manipulation.h14
4 files changed, 13 insertions, 11 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.c b/src/hostlist/gnunet-daemon-hostlist.c
index 8d5252534..f5ea6bba7 100644
--- a/src/hostlist/gnunet-daemon-hostlist.c
+++ b/src/hostlist/gnunet-daemon-hostlist.c
@@ -142,8 +142,6 @@ core_init (void *cls, struct GNUNET_CORE_Handle *server,
142 * @param cls closure 142 * @param cls closure
143 * @param peer identity of the sender 143 * @param peer identity of the sender
144 * @param message advertisement message we got 144 * @param message advertisement message we got
145 * @param atsi performance information
146 * @param atsi_count number of records in 'atsi'
147 * @return GNUNET_OK on success 145 * @return GNUNET_OK on success
148 */ 146 */
149static int 147static int
@@ -160,8 +158,6 @@ advertisement_handler (void *cls, const struct GNUNET_PeerIdentity *peer,
160 * 158 *
161 * @param cls closure 159 * @param cls closure
162 * @param peer peer identity this notification is about 160 * @param peer peer identity this notification is about
163 * @param atsi performance data
164 * @param atsi_count number of records in 'atsi'
165 */ 161 */
166static void 162static void
167connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer) 163connect_handler (void *cls, const struct GNUNET_PeerIdentity *peer)
diff --git a/src/transport/gnunet-service-transport_blacklist.c b/src/transport/gnunet-service-transport_blacklist.c
index 73dbd931d..9193922a9 100644
--- a/src/transport/gnunet-service-transport_blacklist.c
+++ b/src/transport/gnunet-service-transport_blacklist.c
@@ -540,8 +540,6 @@ struct TestConnectionContext
540 * 540 *
541 * @param cls the 'struct TestConnectionContest' 541 * @param cls the 'struct TestConnectionContest'
542 * @param neighbour neighbour's identity 542 * @param neighbour neighbour's identity
543 * @param ats performance data
544 * @param ats_count number of entries in ats (excluding 0-termination)
545 * @param address the address 543 * @param address the address
546 * @param bandwidth_in inbound quota in NBO 544 * @param bandwidth_in inbound quota in NBO
547 * @param bandwidth_out outbound quota in NBO 545 * @param bandwidth_out outbound quota in NBO
diff --git a/src/transport/gnunet-service-transport_clients.c b/src/transport/gnunet-service-transport_clients.c
index 610dda021..db2718f4e 100644
--- a/src/transport/gnunet-service-transport_clients.c
+++ b/src/transport/gnunet-service-transport_clients.c
@@ -465,8 +465,6 @@ client_disconnect_notification (void *cls, struct GNUNET_SERVER_Client *client)
465 * 465 *
466 * @param cls the 'struct TransportClient' to notify 466 * @param cls the 'struct TransportClient' to notify
467 * @param peer identity of the neighbour 467 * @param peer identity of the neighbour
468 * @param ats performance data
469 * @param ats_count number of entries in ats (excluding 0-termination)
470 * @param address the address 468 * @param address the address
471 * @param bandwidth_in inbound bandwidth in NBO 469 * @param bandwidth_in inbound bandwidth in NBO
472 * @param bandwidth_out outbound bandwidth in NBO 470 * @param bandwidth_out outbound bandwidth in NBO
@@ -882,8 +880,6 @@ compose_address_iterate_response_message (const struct GNUNET_PeerIdentity
882 * 880 *
883 * @param cls the 'struct GNUNET_SERVER_TransmitContext' for transmission to the client 881 * @param cls the 'struct GNUNET_SERVER_TransmitContext' for transmission to the client
884 * @param peer identity of the neighbour 882 * @param peer identity of the neighbour
885 * @param ats performance data
886 * @param ats_count number of entries in ats (excluding 0-termination)
887 * @param address the address 883 * @param address the address
888 * @param bandwidth_in inbound quota in NBO 884 * @param bandwidth_in inbound quota in NBO
889 * @param bandwidth_out outbound quota in NBO 885 * @param bandwidth_out outbound quota in NBO
diff --git a/src/transport/gnunet-service-transport_manipulation.h b/src/transport/gnunet-service-transport_manipulation.h
index 17a0a24f3..c8e8b27e9 100644
--- a/src/transport/gnunet-service-transport_manipulation.h
+++ b/src/transport/gnunet-service-transport_manipulation.h
@@ -54,9 +54,21 @@ GST_manipulation_recv (void *cls,
54 const char *sender_address, 54 const char *sender_address,
55 uint16_t sender_address_len); 55 uint16_t sender_address_len);
56 56
57/**
58 * Function that will be called to figure if an address is an loopback,
59 * LAN, WAN etc. address
60 *
61 * @param cls closure
62 * @param peer the peer
63 * @param address binary address
64 * @param address_len length of the address
65 * @param session the session
66 * @param ats the ats information
67 * @param ats_count the number of ats information
68 */
57void 69void
58GST_manipulation_metrics_recv (void *cls, 70GST_manipulation_metrics_recv (void *cls,
59 const struct GNUNET_PeerIdentity *peer, 71 struct GNUNET_PeerIdentity *peer,
60 const char *address, 72 const char *address,
61 uint16_t address_len, 73 uint16_t address_len,
62 struct Session *session, 74 struct Session *session,