GNUnet  0.11.x
Data Fields
PingMessage Struct Reference

We're sending an (encrypted) PING to the other peer to check if it can decrypt. More...

Collaboration diagram for PingMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Message type is GNUNET_MESSAGE_TYPE_CORE_PING. More...
 
uint32_t iv_seed
 Seed for the IV. More...
 
struct GNUNET_PeerIdentity target
 Intended target of the PING, used primarily to check that decryption actually worked. More...
 
uint32_t challenge
 Random number chosen to make replay harder. More...
 

Detailed Description

We're sending an (encrypted) PING to the other peer to check if it can decrypt.

The other peer should respond with a PONG with the same content, except this time encrypted with the receiver's key.

Definition at line 134 of file gnunet-service-core_kx.c.

Field Documentation

◆ header

struct GNUNET_MessageHeader PingMessage::header

Message type is GNUNET_MESSAGE_TYPE_CORE_PING.

Definition at line 139 of file gnunet-service-core_kx.c.

Referenced by send_ping().

◆ iv_seed

uint32_t PingMessage::iv_seed

Seed for the IV.

Definition at line 144 of file gnunet-service-core_kx.c.

Referenced by handle_ping().

◆ target

struct GNUNET_PeerIdentity PingMessage::target

Intended target of the PING, used primarily to check that decryption actually worked.

Definition at line 150 of file gnunet-service-core_kx.c.

Referenced by handle_ping(), and setup_fresh_ping().

◆ challenge

uint32_t PingMessage::challenge

Random number chosen to make replay harder.

Definition at line 155 of file gnunet-service-core_kx.c.

Referenced by handle_ping(), and setup_fresh_ping().


The documentation for this struct was generated from the following file: