Check that you are not present in trail twice
[oweals/gnunet.git] / src / transport / gnunet-service-transport_manipulation.h
index 4fe68ade16582bca2a042b67c2f8954f1ce93b9e..668e91716ef26ac64428b019f3803120719c2f01 100644 (file)
@@ -70,20 +70,16 @@ GST_manipulation_send (const struct GNUNET_PeerIdentity *target,
  * manipulation delays for next send.
  *
  * @param cls the closure for transport
- * @param peer the peer the message was received from
+ * @param address the address and the peer the message was received from
  * @param message the message received
  * @param session the session the message was received on
- * @param sender_address the sender address
- * @param sender_address_len the length of the sender address
  * @return manipulated delay for next receive
  */
 struct GNUNET_TIME_Relative
 GST_manipulation_recv (void *cls,
-                                                                                        const struct GNUNET_PeerIdentity *peer,
-                                                                                        const struct GNUNET_MessageHeader *message,
-                                                                                        struct Session *session,
-                                                                                        const char *sender_address,
-                                                                                        uint16_t sender_address_len);
+    const struct GNUNET_HELLO_Address *address,
+    struct Session *session,
+    const struct GNUNET_MessageHeader *message);
 
 /**
  * Function that will be called to manipulate ATS information according to