38 #ifndef GNUNET_TRANSPORT_MANIPULATION_SERVICE_H
39 #define GNUNET_TRANSPORT_MANIPULATION_SERVICE_H
57 #define GNUNET_TRANSPORT_MANIPULATION_VERSION 0x00000003
static const struct GNUNET_CONFIGURATION_Handle * cfg
Configuration we are using.
static struct GNUNET_DNS_Handle * handle
Handle to transport service.
static struct GNUNET_TIME_Relative delay_out
Outbound delay to apply to all peers.
static struct GNUNET_TIME_Relative delay_in
Inbound delay to apply to all peers.
Automatic transport selection and outbound bandwidth determination.
void GNUNET_TRANSPORT_manipulation_set(struct GNUNET_TRANSPORT_ManipulationHandle *handle, const struct GNUNET_PeerIdentity *peer, const struct GNUNET_ATS_Properties *prop, struct GNUNET_TIME_Relative delay_in, struct GNUNET_TIME_Relative delay_out)
Set transport metrics for a peer and a direction.
struct GNUNET_TRANSPORT_ManipulationHandle * GNUNET_TRANSPORT_manipulation_connect(const struct GNUNET_CONFIGURATION_Handle *cfg)
Connect to the transport service.
void GNUNET_TRANSPORT_manipulation_disconnect(struct GNUNET_TRANSPORT_ManipulationHandle *handle)
Disconnect from the transport service.
ATS performance characteristics for an address.
The identity of the host (wraps the signing key of the peer).
Time for relative time used by GNUnet, in microseconds.
Handle for the transport service (includes all of the state for the transport service).
struct GNUNET_TESTBED_Peer * peer
The peer associated with this model.