![]() |
GNUnet
0.11.x
|
example IPC messages between RPS API and GNS service More...
#include "gnunet_rps_service.h"
Go to the source code of this file.
Data Structures | |
struct | GNUNET_RPS_P2P_PullReplyMessage |
P2P Message to send PeerIDs to other peer. More... | |
struct | GNUNET_RPS_CS_SeedMessage |
Message from client to service with seed of peers. More... | |
struct | GNUNET_RPS_CS_SubStartMessage |
Message from client to service telling it to start a new sub. More... | |
struct | GNUNET_RPS_CS_SubStopMessage |
Message from client to service telling it to stop a new sub. More... | |
struct | GNUNET_RPS_CS_DEBUG_ViewRequest |
Message from client to service indicating that clients wants to get updates of the view. More... | |
struct | GNUNET_RPS_CS_DEBUG_ViewReply |
Message from service to client containing current update of view. More... | |
struct | GNUNET_RPS_CS_DEBUG_StreamRequest |
Message from client to service indicating that clients wants to get stream of biased peers. More... | |
struct | GNUNET_RPS_CS_DEBUG_StreamReply |
Message from service to client containing peer from biased stream. More... | |
Macros | |
#define | GNUNET_RPS_CADET_PORT 31337 |
Mesh port used by RPS. More... | |
Typedefs | |
typedef void(* | PeerOp) (void *cls, const struct GNUNET_PeerIdentity *peer) |
Functions of this type can be used to be stored at a peer for later execution. More... | |
typedef int(* | PeersIterator) (void *cls, const struct GNUNET_PeerIdentity *peer) |
Iterator over valid peers. More... | |
Enumerations | |
enum | Peers_PeerFlags { Peers_PULL_REPLY_PENDING = 0x01, Peers_ONLINE = 0x20, Peers_TO_DESTROY = 0x40 } |
Different flags indicating the status of another peer. More... | |
enum | Peers_ChannelFlags { Peers_CHANNEL_ESTABLISHED_TWICE = 0x1, Peers_CHANNEL_CLEAN = 0x2, Peers_CHANNEL_DESTROING = 0x4 } |
Keep track of the status of a channel. More... | |
enum | Peers_ChannelRole { Peers_CHANNEL_ROLE_SENDING = 0x01, Peers_CHANNEL_ROLE_RECEIVING = 0x02 } |
The role of a channel. More... | |
Variables | |
struct GNUNET_STATISTICS_Handle * | stats |
Handle to the statistics service. More... | |
example IPC messages between RPS API and GNS service
Definition in file rps.h.
typedef void(* PeerOp) (void *cls, const struct GNUNET_PeerIdentity *peer) |
typedef int(* PeersIterator) (void *cls, const struct GNUNET_PeerIdentity *peer) |
Iterator over valid peers.
cls | closure |
peer | current public peer id |
enum Peers_PeerFlags |
Different flags indicating the status of another peer.
enum Peers_ChannelFlags |
Keep track of the status of a channel.
This is needed in order to know what to do with a channel when it's destroyed.
enum Peers_ChannelRole |
struct GNUNET_STATISTICS_Handle* stats |
Handle to the statistics service.
Definition at line 116 of file gnunet-service-cadet.c.
Referenced by announce_id(), destroy_direction(), destroy_route(), dir_ready_cb(), discard_all_from_rung_tail(), discard_buffer(), GCC_latency_observed(), GCCH_channel_incoming_new(), GCCH_channel_local_new(), GCCH_handle_channel_open_ack(), GCCH_handle_channel_plaintext_data(), GCCH_handle_channel_plaintext_data_ack(), GCD_search(), GCT_handle_encrypted(), GCT_handle_kx(), GCT_handle_kx_auth(), GCT_send(), GNUNET_DEFRAGMENT_context_create(), handle_connection_create(), handle_plaintext_keepalive(), route_message(), send_keepalive(), send_kx(), send_kx_auth(), update_ax_by_kx(), updateUsage(), and write_final_stats().