GNUnet  0.11.x
Data Fields
GNUNET_SOCKS_Handshake Struct Reference

State of the SOCKS5 handshake. More...

Collaboration diagram for GNUNET_SOCKS_Handshake:
[legend]

Data Fields

struct GNUNET_CONNECTION_Handlesocks5_connection
 Connection handle used for SOCKS5. More...
 
struct GNUNET_CONNECTION_Handletarget_connection
 Connection handle initially returned to client. More...
 
struct GNUNET_CONNECTION_TransmitHandleth
 Transmission handle on socks5_connection. More...
 
int step
 Our stage in the SOCKS5 handshake. More...
 
unsigned char outbuf [1024]
 Precomputed SOCKS5 handshake ouput buffer. More...
 
unsigned char * outstep [4]
 Pointers delineating protoocol steps in the outbut 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 135 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 140 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 145 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 150 of file socks.c.

Referenced by register_sender().

◆ step

int GNUNET_SOCKS_Handshake::step

Our stage in the SOCKS5 handshake.

Definition at line 155 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 ouput buffer.

Definition at line 160 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 outbut buffer.

Definition at line 165 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 170 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), and reciever().

◆ instart

unsigned char* GNUNET_SOCKS_Handshake::instart

Pointers delimiting the current step in the input buffer.

Definition at line 175 of file socks.c.

Referenced by GNUNET_SOCKS_init_handshake(), and SOCKS5_handshake_step().

◆ inend

unsigned char* GNUNET_SOCKS_Handshake::inend

Definition at line 176 of file socks.c.

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


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