31#define GNUNET_RPS_CADET_PORT 31337
85struct GNUNET_RPS_CS_ActMaliciousMessage
static uint32_t type
Type string converted to DNS type value.
static unsigned int num_peers
Number of peers.
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
int(* PeersIterator)(void *cls, const struct GNUNET_PeerIdentity *peer)
Iterator over valid peers.
struct GNUNET_STATISTICS_Handle * stats
Handle to the statistics service.
Peers_ChannelFlags
Keep track of the status of a channel.
@ Peers_CHANNEL_CLEAN
The channel was removed because it was not needed any more.
@ Peers_CHANNEL_DESTROING
We destroyed the channel because the other peer established a second one.
@ Peers_CHANNEL_ESTABLISHED_TWICE
We destroyed the channel because the other peer established a second one.
Peers_ChannelRole
The role of a channel.
@ Peers_CHANNEL_ROLE_RECEIVING
Channel is used for receiving.
@ Peers_CHANNEL_ROLE_SENDING
Channel is used for sending.
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.
Peers_PeerFlags
Different flags indicating the status of another peer.
@ Peers_TO_DESTROY
We set this bit when we are going to destroy the channel to this peer.
@ Peers_ONLINE
We set this bit when we know the peer is online.
@ Peers_PULL_REPLY_PENDING
If we are waiting for a reply from that peer (sent a pull request).
The identity of the host (wraps the signing key of the peer).
Message from service to client containing peer from biased stream.
uint64_t num_peers
Number of peers.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Message from client to service indicating that clients wants to get stream of biased peers.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Message from service to client containing current update of view.
uint64_t num_peers
Number of peers in the view.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Message from client to service indicating that clients wants to get updates of the view.
uint32_t num_updates
Number of updates 0 for sending updates until cancellation.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Message from client to service with seed of peers.
uint32_t num_peers
Number of peers.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Message from client to service telling it to start a new sub.
struct GNUNET_HashCode hash
Length of the shared value represented as string.
struct GNUNET_TIME_RelativeNBO round_interval
Mean interval between two rounds.
uint32_t reserved
For alignment.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Message from client to service telling it to stop a new sub.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
struct GNUNET_HashCode hash
Length of the shared value represented as string.
P2P Message to send PeerIDs to other peer.
uint32_t num_peers
Number of PeerIDs sent.
struct GNUNET_MessageHeader header
Header including size and type in NBO.
Time for relative time used by GNUnet, in microseconds and in network byte order.