Tor  0.4.7.0-alpha-dev
Macros | Functions
ext_orport.h File Reference

Header for ext_orport.c. More...

Go to the source code of this file.

Macros

#define EXT_OR_CONN_STATE_MIN_   1
 
#define EXT_OR_CONN_STATE_AUTH_WAIT_AUTH_TYPE   1
 
#define EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_NONCE   2
 
#define EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_HASH   3
 
#define EXT_OR_CONN_STATE_AUTH_MAX   3
 
#define EXT_OR_CONN_STATE_OPEN   4
 
#define EXT_OR_CONN_STATE_FLUSHING   5
 
#define EXT_OR_CONN_STATE_MAX_   5
 
#define connection_or_set_ext_or_identifier(conn)    ((void)(conn))
 
#define get_ext_or_auth_cookie_file_name()    (NULL)
 

Functions

static int connection_ext_or_start_auth (or_connection_t *conn)
 
static int connection_ext_or_finished_flushing (or_connection_t *conn)
 
static int connection_ext_or_process_inbuf (or_connection_t *conn)
 

Detailed Description

Header for ext_orport.c.

Definition in file ext_orport.h.

Macro Definition Documentation

◆ EXT_OR_CONN_STATE_AUTH_WAIT_AUTH_TYPE

#define EXT_OR_CONN_STATE_AUTH_WAIT_AUTH_TYPE   1

Extended ORPort authentication is waiting for the authentication type selected by the client.

Definition at line 20 of file ext_orport.h.

◆ EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_HASH

#define EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_HASH   3

Extended ORPort authentication is waiting for the client hash.

Definition at line 24 of file ext_orport.h.

◆ EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_NONCE

#define EXT_OR_CONN_STATE_AUTH_WAIT_CLIENT_NONCE   2

Extended ORPort authentication is waiting for the client nonce.

Definition at line 22 of file ext_orport.h.

◆ EXT_OR_CONN_STATE_FLUSHING

#define EXT_OR_CONN_STATE_FLUSHING   5

Extended ORPort is flushing its last messages and preparing to start accepting OR connections.

Definition at line 31 of file ext_orport.h.

◆ EXT_OR_CONN_STATE_MIN_

#define EXT_OR_CONN_STATE_MIN_   1

States of the Extended ORPort protocol. Be careful before changing the numbers: they matter.

Definition at line 17 of file ext_orport.h.

◆ EXT_OR_CONN_STATE_OPEN

#define EXT_OR_CONN_STATE_OPEN   4

Authentication finished and the Extended ORPort is now accepting traffic.

Definition at line 28 of file ext_orport.h.