GNUnet 0.21.1
GNUNET_SOCKS_Handshake Struct Reference

State of the SOCKS5 handshake. More...

Data Fields

struct GNUNET_CONNECTION_Handle * socks5_connection
 Connection handle used for SOCKS5. More...
 
struct GNUNET_CONNECTION_Handle * target_connection
 Connection handle initially returned to client. More...
 
struct GNUNET_CONNECTION_TransmitHandle * th
 Transmission handle on socks5_connection. More...
 
int step
 Our stage in the SOCKS5 handshake. More...
 
unsigned char outbuf [1024]
 Precomputed SOCKS5 handshake output buffer. More...
 
unsigned char * outstep [4]
 Pointers delineating protoocol steps in the output buffer. More...
 
unsigned char inbuf [1024]
 SOCKS5 handshake input buffer. More...
 
unsigned char * instart
 Pointers delimiting the current step in the input buffer. More...
 
unsigned char * inend
 

Detailed Description

State of the SOCKS5 handshake.

Definition at line 136 of file socks.c.

Field Documentation

◆ socks5_connection

struct GNUNET_CONNECTION_Handle* GNUNET_SOCKS_Handshake::socks5_connection

Connection handle used for SOCKS5.

Definition at line 141 of file socks.c.

Referenced by GNUNET_SOCKS_run_handshake(), register_reciever(), and register_sender().

◆ target_connection

struct GNUNET_CONNECTION_Handle* GNUNET_SOCKS_Handshake::target_connection

Connection handle initially returned to client.

Definition at line 146 of file socks.c.

Referenced by GNUNET_SOCKS_run_handshake(), and SOCKS5_handshake_done().

◆ th

struct GNUNET_CONNECTION_TransmitHandle* GNUNET_SOCKS_Handshake::th

Transmission handle on socks5_connection.

Definition at line 151 of file socks.c.

Referenced by register_sender().

◆ step

int GNUNET_SOCKS_Handshake::step

Our stage in the SOCKS5 handshake.

Definition at line 156 of file socks.c.

Referenced by register_sender(), SOCKS5_handshake_step(), and transmit_ready().

◆ outbuf

unsigned char GNUNET_SOCKS_Handshake::outbuf[1024]

Precomputed SOCKS5 handshake output buffer.

Definition at line 161 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), register_sender(), and transmit_ready().

◆ outstep

unsigned char* GNUNET_SOCKS_Handshake::outstep[4]

Pointers delineating protoocol steps in the output buffer.

Definition at line 166 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), GNUNET_SOCKS_set_handshake_destination(), register_sender(), and transmit_ready().

◆ inbuf

unsigned char GNUNET_SOCKS_Handshake::inbuf[1024]

SOCKS5 handshake input buffer.

Definition at line 171 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), and receiver().

◆ instart

unsigned char* GNUNET_SOCKS_Handshake::instart

Pointers delimiting the current step in the input buffer.

Definition at line 176 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), and SOCKS5_handshake_step().

◆ inend

unsigned char* GNUNET_SOCKS_Handshake::inend

Definition at line 177 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), receiver(), and SOCKS5_handshake_step().


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