#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.
Message send via cadet to an exit daemon to forward ICMP data to the Internet.
int32_t af
Address family, AF_INET or AF_INET6, in network byte order.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_INTERNET.
struct GNUNET_TUN_IcmpHeader icmp_header
ICMP header to use.
Message send via cadet to an exit daemon to send ICMP data to a local service.
struct GNUNET_TUN_IcmpHeader icmp_header
ICMP header to use.
int32_t af
Address family, AF_INET or AF_INET6, in network byte order.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_SERVICE.
Message send via cadet to the vpn service to send ICMP data to the VPN's TUN interface.
struct GNUNET_TUN_IcmpHeader icmp_header
ICMP header to use.
int32_t af
Address family, AF_INET or AF_INET6, in network byte order.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_ICMP_TO_VPN.
Message send via cadet between VPN and entry and an exit daemon to transmit TCP data between the VPN ...
uint32_t reserved
Always 0.
struct GNUNET_TUN_TcpHeader tcp_header
Skeleton of the TCP header to send.
struct GNUNET_MessageHeader header
Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA.
Message send via cadet to an exit daemon to initiate forwarding of TCP data to the Internet.
struct GNUNET_TUN_TcpHeader tcp_header
Skeleton of the TCP header to send.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_TCP_TO_INTERNET_START.
int32_t af
Address family, AF_INET or AF_INET6, in network byte order.
Message send via cadet to an exit daemon to initiate forwarding of TCP data to a local service.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_TCP_TO_SERVICE_START.
uint32_t reserved
Always 0.
struct GNUNET_TUN_TcpHeader tcp_header
Skeleton of the TCP header to send.
Message send via cadet to an exit daemon to forward UDP data to the Internet.
uint16_t source_port
Source port to use for the UDP request (0 to use a random port).
uint16_t destination_port
Destination port to use for the UDP request.
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_UDP_TO_INTERNET.
int32_t af
Address family, AF_INET or AF_INET6, in network byte order.
Message send from exit daemon back to the UDP entry point (used for both Internet and Service exit re...
uint16_t source_port
Source port to use for the UDP reply (0 to use the same port as for the original request).
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_UDP_REPLY.
uint16_t destination_port
Destination port to use for the UDP reply (0 to use the same port as for the original request).
Message send via cadet to an exit daemon to send UDP data to a local service.
uint16_t destination_port
Destination port to use for the UDP request.
uint16_t source_port
Source port to use for the UDP request (0 to use a random port).
struct GNUNET_MessageHeader header
Type is GNUNET_MESSAGE_TYPE_VPN_UDP_TO_SERVICE.