GNUnet 0.21.1
transport.h File Reference

common internal definitions for transport service More...

#include "gnunet_util_lib.h"
#include "gnunet_time_lib.h"
#include "gnunet_constants.h"
Include dependency graph for transport.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  StartMessage
 Message from the transport service to the library asking to check if both processes agree about this peers identity. More...
 
struct  ConnectInfoMessage
 Message from the transport service to the library informing about neighbors. More...
 
struct  DisconnectInfoMessage
 Message from the transport service to the library informing about disconnects. More...
 
struct  InboundMessage
 Message used to notify the transport API about a message received from the network. More...
 
struct  SendOkMessage
 Message used to notify the transport API that it can send another message to the transport service. More...
 
struct  RecvOkMessage
 Message used to notify the transport API that it can send another message to the transport service. More...
 
struct  OutboundMessage
 Message used to notify the transport service about a message to be transmitted to another peer. More...
 
struct  GNUNET_TRANSPORT_CommunicatorAvailableMessage
 Communicator goes online. More...
 
struct  GNUNET_TRANSPORT_AddAddressMessage
 Add address to the list. More...
 
struct  GNUNET_TRANSPORT_DelAddressMessage
 Remove address from the list. More...
 
struct  GNUNET_TRANSPORT_IncomingMessage
 Inform transport about an incoming message. More...
 
struct  GNUNET_TRANSPORT_IncomingMessageAck
 Transport informs us about being done with an incoming message. More...
 
struct  GNUNET_TRANSPORT_AddQueueMessage
 Add queue to the transport. More...
 
struct  GNUNET_TRANSPORT_UpdateQueueMessage
 Update queue. More...
 
struct  GNUNET_TRANSPORT_DelQueueMessage
 Remove queue, it is no longer available. More...
 
struct  GNUNET_TRANSPORT_CreateQueue
 Transport tells communicator that it wants a new queue. More...
 
struct  GNUNET_TRANSPORT_CreateQueueResponse
 Communicator tells transport how queue creation went down. More...
 
struct  GNUNET_TRANSPORT_SendMessageTo
 Inform communicator about transport's desire to send a message. More...
 
struct  GNUNET_TRANSPORT_SendMessageToAck
 Inform transport that message was sent. More...
 
struct  GNUNET_TRANSPORT_CommunicatorBackchannel
 Message from communicator to transport service asking for transmission of a backchannel message with the given peer pid and communicator. More...
 
struct  GNUNET_TRANSPORT_CommunicatorBackchannelIncoming
 Message from transport to communicator passing along a backchannel message from the given peer pid. More...
 
struct  GNUNET_TRANSPORT_MonitorStart
 Request to start monitoring. More...
 
struct  GNUNET_TRANSPORT_MonitorData
 Monitoring data. More...
 
struct  GNUNET_TRANSPORT_AddressToVerify
 Request to verify address. More...
 
struct  ExpressPreferenceMessage
 Application client to TRANSPORT service: we would like to have address suggestions for this peer. More...
 
struct  RequestHelloValidationMessage
 We got an address of another peer, TRANSPORT service should validate it. More...
 

Macros

#define DEBUG_TRANSPORT   GNUNET_EXTRA_LOGGING
 

Typedefs

typedef void(* NotifyConnect) (void *cls, const struct GNUNET_PeerIdentity *peer, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out)
 Similar to GNUNET_TRANSPORT_NotifyDisconnect but in and out quotas are included here. More...
 

Detailed Description

common internal definitions for transport service

Author
Christian Grothoff

Definition in file transport.h.

Macro Definition Documentation

◆ DEBUG_TRANSPORT

#define DEBUG_TRANSPORT   GNUNET_EXTRA_LOGGING

Definition at line 33 of file transport.h.

Typedef Documentation

◆ NotifyConnect

typedef void(* NotifyConnect) (void *cls, const struct GNUNET_PeerIdentity *peer, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_in, struct GNUNET_BANDWIDTH_Value32NBO bandwidth_out)

Similar to GNUNET_TRANSPORT_NotifyDisconnect but in and out quotas are included here.

These values are not required outside transport_api

Parameters
clsclosure
peerthe peer that connected
bandwidth_ininbound bandwidth in NBO
bandwidth_outoutbound bandwidth in NBO

Definition at line 46 of file transport.h.