GNUnet debian-0.24.3-29-g453fda2cf
 
Loading...
Searching...
No Matches
PongMessage Struct Reference

Response to a PING. More...

#include <gnunet_core_service.h>

Collaboration diagram for PongMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Message type is #GNUNET_MESSAGE_TYPE_CORE_PONG.
 
uint32_t iv_seed
 Seed for the IV.
 
uint32_t challenge
 Random number to make replay attacks harder.
 
uint32_t reserved
 Reserved, always zero.
 
struct GNUNET_PeerIdentity target
 Intended target of the PING, used primarily to check that decryption actually worked.
 
enum GNUNET_CORE_PeerClass peer_class
 The peer class of the sending peer TODO is it correct to send an enum like this?
 

Detailed Description

Response to a PING.

Includes data from the original PING.

Definition at line 402 of file gnunet_core_service.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader PongMessage::header

Message type is #GNUNET_MESSAGE_TYPE_CORE_PONG.

Definition at line 407 of file gnunet_core_service.h.

◆ iv_seed

uint32_t PongMessage::iv_seed

Seed for the IV.

Definition at line 412 of file gnunet_core_service.h.

◆ challenge

uint32_t PongMessage::challenge

Random number to make replay attacks harder.

Definition at line 417 of file gnunet_core_service.h.

◆ reserved

uint32_t PongMessage::reserved

Reserved, always zero.

Definition at line 422 of file gnunet_core_service.h.

◆ target

struct GNUNET_PeerIdentity PongMessage::target

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

Definition at line 428 of file gnunet_core_service.h.

◆ peer_class

enum GNUNET_CORE_PeerClass PongMessage::peer_class

The peer class of the sending peer TODO is it correct to send an enum like this?

Definition at line 434 of file gnunet_core_service.h.


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