GNUnet  0.11.x
Data Fields
GNUNET_EXIT_TcpDataMessage Struct Reference

Message send via cadet between VPN and entry and an exit daemon to transmit TCP data between the VPN entry and an exit session. More...

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

Collaboration diagram for GNUNET_EXIT_TcpDataMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA. More...
 
uint32_t reserved
 Always 0. More...
 
struct GNUNET_TUN_TcpHeader tcp_header
 Skeleton of the TCP header to send. More...
 

Detailed Description

Message send via cadet between VPN and entry and an exit daemon to transmit TCP data between the VPN entry and an exit session.

This format is used for both Internet-exits and service-exits and in both directions (VPN to exit and exit to VPN).

Definition at line 94 of file exit.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader GNUNET_EXIT_TcpDataMessage::header

Type is #GNUNET_MESSAGE_TYPE_VPN_TCP_DATA.

Definition at line 99 of file exit.h.

Referenced by handle_tcp_back(), and handle_tcp_data().

◆ reserved

uint32_t GNUNET_EXIT_TcpDataMessage::reserved

Always 0.

Definition at line 104 of file exit.h.

Referenced by handle_tcp_data(), route_packet(), and tcp_from_helper().

◆ tcp_header

struct GNUNET_TUN_TcpHeader GNUNET_EXIT_TcpDataMessage::tcp_header

Skeleton of the TCP header to send.

Port numbers are to be replaced and the checksum may be updated as necessary. (The destination port number should not be changed, as it contains the desired destination port.)

Definition at line 110 of file exit.h.

Referenced by check_tcp_back(), check_tcp_data(), handle_tcp_back(), handle_tcp_data(), route_packet(), and tcp_from_helper().


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