GNUnet  0.11.x
Data Fields
RedirectToServiceRequestMessage Struct Reference

Message send by the VPN client to the VPN service requesting the setup of a redirection from some IP to a service running at a particular peer. More...

#include </home/handbook/gnunet/src/vpn/vpn.h>

Collaboration diagram for RedirectToServiceRequestMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_SERVICE. More...
 
uint32_t reserved
 Always zero. More...
 
struct GNUNET_TIME_AbsoluteNBO expiration_time
 How long should the redirection be maintained at most? More...
 
int32_t protocol
 Desired protocol (IPPROTO_UDP or IPPROTO_TCP) More...
 
int32_t result_af
 Address family desired for the result (AF_INET or AF_INET6 or AF_UNSPEC, in nbo) More...
 
struct GNUNET_PeerIdentity target
 Target peer offering the service. More...
 
struct GNUNET_HashCode service_descriptor
 Service descriptor identifying the service. More...
 
uint64_t request_id
 Unique ID to match a future response to this request. More...
 

Detailed Description

Message send by the VPN client to the VPN service requesting the setup of a redirection from some IP to a service running at a particular peer.

Definition at line 80 of file vpn.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader RedirectToServiceRequestMessage::header

Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_SERVICE.

Definition at line 85 of file vpn.h.

◆ reserved

uint32_t RedirectToServiceRequestMessage::reserved

Always zero.

Definition at line 90 of file vpn.h.

Referenced by send_request().

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO RedirectToServiceRequestMessage::expiration_time

How long should the redirection be maintained at most?

Definition at line 95 of file vpn.h.

Referenced by handle_client_redirect_to_service(), and send_request().

◆ protocol

int32_t RedirectToServiceRequestMessage::protocol

Desired protocol (IPPROTO_UDP or IPPROTO_TCP)

Definition at line 100 of file vpn.h.

Referenced by send_request().

◆ result_af

int32_t RedirectToServiceRequestMessage::result_af

Address family desired for the result (AF_INET or AF_INET6 or AF_UNSPEC, in nbo)

Definition at line 105 of file vpn.h.

Referenced by handle_client_redirect_to_service(), and send_request().

◆ target

struct GNUNET_PeerIdentity RedirectToServiceRequestMessage::target

Target peer offering the service.

Definition at line 110 of file vpn.h.

Referenced by handle_client_redirect_to_service(), and send_request().

◆ service_descriptor

struct GNUNET_HashCode RedirectToServiceRequestMessage::service_descriptor

Service descriptor identifying the service.

Definition at line 115 of file vpn.h.

Referenced by handle_client_redirect_to_service(), and send_request().

◆ request_id

uint64_t RedirectToServiceRequestMessage::request_id

Unique ID to match a future response to this request.

Picked by the client.

Definition at line 121 of file vpn.h.

Referenced by handle_client_redirect_to_service(), and send_request().


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