Opaque redirection request handle. More...
Data Fields | |
struct GNUNET_VPN_RedirectionRequest * | next |
Element in DLL. More... | |
struct GNUNET_VPN_RedirectionRequest * | prev |
Element in DLL. More... | |
struct GNUNET_VPN_Handle * | vh |
Pointer to the VPN struct. More... | |
const void * | addr |
Target IP address for the redirection, or NULL for redirection to service. More... | |
GNUNET_VPN_AllocationCallback | cb |
Function to call with the designated IP address. More... | |
void * | cb_cls |
Closure for cb. More... | |
struct GNUNET_PeerIdentity | peer |
For service redirection, identity of the peer offering the service. More... | |
struct GNUNET_HashCode | serv |
For service redirection, service descriptor. More... | |
struct GNUNET_TIME_Absolute | expiration_time |
At what time should the created service mapping expire? More... | |
uint64_t | request_id |
non-zero if this request has been sent to the service. More... | |
int | result_af |
Desired address family for the result. More... | |
int | addr_af |
Address family of addr. More... | |
uint8_t | protocol |
For service redirection, IPPROT_UDP or IPPROTO_TCP. More... | |
struct GNUNET_VPN_RedirectionRequest* GNUNET_VPN_RedirectionRequest::next |
Element in DLL.
Definition at line 81 of file vpn_api.c.
Referenced by connect_task(), handle_use_ip(), and reconnect().
struct GNUNET_VPN_RedirectionRequest* GNUNET_VPN_RedirectionRequest::prev |
struct GNUNET_VPN_Handle* GNUNET_VPN_RedirectionRequest::vh |
Pointer to the VPN struct.
Definition at line 91 of file vpn_api.c.
Referenced by connect_task(), GNUNET_VPN_cancel_request(), GNUNET_VPN_redirect_to_ip(), GNUNET_VPN_redirect_to_peer(), handle_use_ip(), reconnect(), and send_request().
const void* GNUNET_VPN_RedirectionRequest::addr |
Target IP address for the redirection, or NULL for redirection to service.
Allocated after this struct.
Definition at line 97 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_ip(), handle_request(), send_request(), and send_response().
GNUNET_VPN_AllocationCallback GNUNET_VPN_RedirectionRequest::cb |
Function to call with the designated IP address.
Definition at line 102 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_ip(), GNUNET_VPN_redirect_to_peer(), and handle_use_ip().
void* GNUNET_VPN_RedirectionRequest::cb_cls |
Closure for cb.
Definition at line 107 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_ip(), GNUNET_VPN_redirect_to_peer(), and handle_use_ip().
struct GNUNET_PeerIdentity GNUNET_VPN_RedirectionRequest::peer |
For service redirection, identity of the peer offering the service.
Definition at line 112 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_peer(), and send_request().
struct GNUNET_HashCode GNUNET_VPN_RedirectionRequest::serv |
For service redirection, service descriptor.
Definition at line 117 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_peer(), and send_request().
struct GNUNET_TIME_Absolute GNUNET_VPN_RedirectionRequest::expiration_time |
At what time should the created service mapping expire?
Definition at line 122 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_ip(), GNUNET_VPN_redirect_to_peer(), and send_request().
uint64_t GNUNET_VPN_RedirectionRequest::request_id |
non-zero if this request has been sent to the service.
Definition at line 127 of file vpn_api.c.
Referenced by handle_list(), handle_use_ip(), reconnect(), and send_request().
int GNUNET_VPN_RedirectionRequest::result_af |
Desired address family for the result.
Definition at line 132 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_ip(), GNUNET_VPN_redirect_to_peer(), and send_request().
int GNUNET_VPN_RedirectionRequest::addr_af |
Address family of addr.
AF_INET or AF_INET6.
Definition at line 137 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_ip(), and send_request().
uint8_t GNUNET_VPN_RedirectionRequest::protocol |
For service redirection, IPPROT_UDP or IPPROTO_TCP.
Definition at line 142 of file vpn_api.c.
Referenced by GNUNET_VPN_redirect_to_peer(), and send_request().