Tor  0.4.7.0-alpha-dev
Functions
rendmid.h File Reference

Header file for rendmid.c. More...

Go to the source code of this file.

Functions

int rend_mid_establish_intro_legacy (or_circuit_t *circ, const uint8_t *request, size_t request_len)
 
int rend_mid_introduce_legacy (or_circuit_t *circ, const uint8_t *request, size_t request_len)
 
int rend_mid_establish_rendezvous (or_circuit_t *circ, const uint8_t *request, size_t request_len)
 
int rend_mid_rendezvous (or_circuit_t *circ, const uint8_t *request, size_t request_len)
 

Detailed Description

Header file for rendmid.c.

Definition in file rendmid.h.

Function Documentation

◆ rend_mid_establish_rendezvous()

int rend_mid_establish_rendezvous ( or_circuit_t circ,
const uint8_t *  request,
size_t  request_len 
)

Process an ESTABLISH_RENDEZVOUS cell by setting the circuit's purpose and rendezvous cookie.

Definition at line 29 of file rendmid.c.

◆ rend_mid_rendezvous()

int rend_mid_rendezvous ( or_circuit_t circ,
const uint8_t *  request,
size_t  request_len 
)

Process a RENDEZVOUS1 cell by looking up the correct rendezvous circuit by its relaying the cell's body in a RENDEZVOUS2 cell, and connecting the two circuits.

Definition at line 102 of file rendmid.c.