GNUnet  0.11.x
Data Fields
RedirectToIpRequestMessage Struct Reference

Message send by the VPN client to the VPN service requesting the setup of a redirection from some IP via an exit node to some global Internet address. More...

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

Collaboration diagram for RedirectToIpRequestMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP. 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 result_af
 Address family desired for the result (AF_INET or AF_INET6 or AF_UNSPEC, in nbo) More...
 
int32_t addr_af
 Address family used for the destination address (AF_INET or AF_INET6, in nbo) 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 via an exit node to some global Internet address.

Definition at line 38 of file vpn.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader RedirectToIpRequestMessage::header

◆ reserved

uint32_t RedirectToIpRequestMessage::reserved

Always zero.

Definition at line 48 of file vpn.h.

Referenced by send_request().

◆ expiration_time

struct GNUNET_TIME_AbsoluteNBO RedirectToIpRequestMessage::expiration_time

How long should the redirection be maintained at most?

Definition at line 53 of file vpn.h.

Referenced by handle_client_redirect_to_ip(), and send_request().

◆ result_af

int32_t RedirectToIpRequestMessage::result_af

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

Definition at line 58 of file vpn.h.

Referenced by handle_client_redirect_to_ip(), and send_request().

◆ addr_af

int32_t RedirectToIpRequestMessage::addr_af

Address family used for the destination address (AF_INET or AF_INET6, in nbo)

Definition at line 63 of file vpn.h.

Referenced by check_client_redirect_to_ip(), handle_client_redirect_to_ip(), and send_request().

◆ request_id

uint64_t RedirectToIpRequestMessage::request_id

Unique ID to match a future response to this request.

Picked by the client.

Definition at line 69 of file vpn.h.

Referenced by handle_client_redirect_to_ip(), and send_request().


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