GNUnet  0.11.x
Data Fields
GNUNET_ATS_SessionKeepAliveMessage Struct Reference

Message a peer sends to another when connected to indicate that a session is in use and the peer is still alive or to respond to a keep alive. More...

Collaboration diagram for GNUNET_ATS_SessionKeepAliveMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Header of type GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE or GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE_RESPONSE. More...
 
uint32_t nonce
 A nonce to identify the session the keep alive is used for. More...
 

Detailed Description

Message a peer sends to another when connected to indicate that a session is in use and the peer is still alive or to respond to a keep alive.

A peer sends a message with type GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE to request a message with GNUNET_MESSAGE_TYPE_TRANSPORT_SESSION_KEEPALIVE_RESPONSE. When the keep alive response with type is received, transport service will call the respective plugin to update the session timeout

Definition at line 151 of file gnunet-service-transport_neighbours.c.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_ATS_SessionKeepAliveMessage::header

◆ nonce

uint32_t GNUNET_ATS_SessionKeepAliveMessage::nonce

A nonce to identify the session the keep alive is used for.

Definition at line 162 of file gnunet-service-transport_neighbours.c.

Referenced by GST_neighbours_keepalive(), GST_neighbours_keepalive_response(), and send_keepalive().


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