#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
The identity of the host (wraps the signing key of the peer).
Time for absolute time used by GNUnet, in microseconds and in network byte order.
Message send by the VPN client to the VPN service requesting the setup of a redirection from some IP ...
uint64_t request_id
Unique ID to match a future response to this request.
uint32_t reserved
Always zero.
int32_t addr_af
Address family used for the destination address (AF_INET or AF_INET6, in nbo)
struct GNUNET_TIME_AbsoluteNBO expiration_time
How long should the redirection be maintained at most?
int32_t result_af
Address family desired for the result (AF_INET or AF_INET6 or AF_UNSPEC, in nbo)
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_IP.
Response from the VPN service to a VPN client informing about the IP that was assigned for the reques...
int32_t result_af
Address family of the allocated address that follows; will match "result_af" from the request,...
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_USE_IP.
uint64_t request_id
Unique ID to match the response to a request.
Message send by the VPN client to the VPN service requesting the setup of a redirection from some IP ...
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_CLIENT_REDIRECT_TO_SERVICE.
int32_t result_af
Address family desired for the result (AF_INET or AF_INET6 or AF_UNSPEC, in nbo)
struct GNUNET_TIME_AbsoluteNBO expiration_time
How long should the redirection be maintained at most?
struct GNUNET_PeerIdentity target
Target peer offering the service.
uint64_t request_id
Unique ID to match a future response to this request.
uint32_t reserved
Always zero.
struct GNUNET_HashCode service_descriptor
Service descriptor identifying the service.
int32_t protocol
Desired protocol (IPPROTO_UDP or IPPROTO_TCP)