33 #define DEBUG_TRANSPORT GNUNET_EXTRA_LOGGING 40 #define MAX_BANDWIDTH_CARRY_S GNUNET_CONSTANTS_MAX_BANDWIDTH_CARRY_S 46 #define MIN_QUOTA_REFRESH_TIME 2000 52 #define DEFAULT_MAX_FDS 256 57 #define LATENCY_EVALUATION_MAX_DELAY \ 58 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_HOURS, 1) 63 #define CONNECTED_LATENCY_EVALUATION_MAX_DELAY \ 64 GNUNET_TIME_relative_multiply (GNUNET_TIME_UNIT_MINUTES, 1) 124 #if (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 125 defined(GNUNET_TRANSPORT_CORE_VERSION)) 223 #if (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 224 defined(GNUNET_TRANSPORT_CORE_VERSION)) 296 #if ! (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 297 defined(GNUNET_TRANSPORT_CORE_VERSION)) 312 #if ! (defined(GNUNET_TRANSPORT_COMMUNICATION_VERSION) || \ 313 defined(GNUNET_TRANSPORT_CORE_VERSION)) 683 struct GNUNET_TRANSPORT_CommunicatorAvailableMessage
702 struct GNUNET_TRANSPORT_AddAddressMessage
731 struct GNUNET_TRANSPORT_DelAddressMessage
748 struct GNUNET_TRANSPORT_IncomingMessage
784 struct GNUNET_TRANSPORT_IncomingMessageAck
811 struct GNUNET_TRANSPORT_AddQueueMessage
861 struct GNUNET_TRANSPORT_UpdateQueueMessage
909 struct GNUNET_TRANSPORT_DelQueueMessage
931 struct GNUNET_TRANSPORT_CreateQueue
955 struct GNUNET_TRANSPORT_CreateQueueResponse
973 struct GNUNET_TRANSPORT_SendMessageTo
1002 struct GNUNET_TRANSPORT_SendMessageToAck
1031 struct GNUNET_TRANSPORT_CommunicatorBackchannel
1060 struct GNUNET_TRANSPORT_CommunicatorBackchannelIncoming
1086 struct GNUNET_TRANSPORT_MonitorStart
1108 struct GNUNET_TRANSPORT_MonitorData
1159 struct GNUNET_TRANSPORT_AddressToVerify
1184 struct ExpressPreferenceMessage
1215 struct RequestHelloValidationMessage
Message used to notify the transport API about an address to string conversion.
static struct GNUNET_TIME_Relative delay_in
Inbound delay to apply to all peers.
Message used to notify the transport API that it can send another message to the transport service...
Message from the transport service to the library containing information about a peer.
static struct GNUNET_IDENTITY_Handle * id
Handle to identity service.
Message from the library to the transport service asking for binary addresses known for a peer...
struct GNUNET_PeerIdentity self
Identity we think we have.
Time for relative time used by GNUnet, in microseconds and in network byte order. ...
Time for absolute time used by GNUnet, in microseconds and in network byte order. ...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
void(* NotifyConnect)(void *cls, const struct GNUNET_PeerIdentity *peer, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out)
Similiar to GNUNET_TRANSPORT_NotifyDisconnect but in and out quotas are included here.
Message from the transport service to the library containing information about a peer.
cryptographic primitives for GNUnet
Change in blacklisting (either request or notification, depending on which direction it is going)...
void * cls
Closure for rec, nc and nd.
enum State state
current state of profiling
static struct GNUNET_TIME_Relative timeout
Desired timeout for the lookup (default is no timeout).
Message from the library to the transport service asking for binary addresses known for a peer...
uint32_t options
0: no options 1: The self field should be checked 2: this client is interested in payload traffic ...
uint16_t status
See PRISM_STATUS_*-constants.
Message from the transport service to the library informing about neighbors.
Message from the library to the transport service asking for binary addresses known for a peer...
Message used to set a particular bandwidth quota.
static struct GNUNET_NAT_AUTO_Test * nt
Handle to a NAT test operation.
Message used to notify the transport service about a message to be transmitted to another peer...
Message from the transport service to the library asking to check if both processes agree about this ...
struct GNUNET_TESTBED_Peer * peer
The peer associated with this model.
Transport-level connection status update.
Message from the transport service to the library informing about disconnects.
uint32_t reserved
For alignment.
static struct GNUNET_TIME_Relative delay
When should dkg communication start?
32-bit bandwidth used for network exchange by GNUnet, in bytes per second.
Message from the library to the transport service asking for converting a transport address to a huma...
static unsigned long long quota
How much space are we allowed to use?
static struct GNUNET_TIME_Relative delay_out
Outbound delay to apply to all peers.
uint32_t reserved
For alignment.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
uint64_t session_id
Unique identifier for the session.
The identity of the host (wraps the signing key of the peer).
Message used to notify the transport API that it can send another message to the transport service...
#define GNUNET_PACKED
gcc-ism to get packed structs.
struct GNUNET_IDENTITY_PrivateKey pk
Private key from command line option, or NULL.
struct GNUNET_MessageHeader header
Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_START.
static unsigned long long reserved
How much space have we currently reserved?
ATS performance characteristics for an address in network byte order (for IPC).
Message used to notify the transport API about a message received from the network.