Tor
0.4.7.0-alpha-dev
|
Header file for hs_intropoint.c. More...
Go to the source code of this file.
Data Structures | |
struct | hs_intropoint_t |
Functions | |
int | hs_intro_received_establish_intro (or_circuit_t *circ, const uint8_t *request, size_t request_len) |
int | hs_intro_received_introduce1 (or_circuit_t *circ, const uint8_t *request, size_t request_len) |
int | hs_intro_send_intro_established_cell (or_circuit_t *circ) |
int | hs_intro_circuit_is_suitable_for_establish_intro (const or_circuit_t *circ) |
hs_intropoint_t * | hs_intro_new (void) |
void | hs_intropoint_clear (hs_intropoint_t *ip) |
Header file for hs_intropoint.c.
Definition in file hs_intropoint.h.
int hs_intro_circuit_is_suitable_for_establish_intro | ( | const or_circuit_t * | circ | ) |
Return True if circuit is suitable for being service-side intro circuit.
Definition at line 492 of file hs_intropoint.c.
int hs_intro_received_establish_intro | ( | or_circuit_t * | circ, |
const uint8_t * | request, | ||
size_t | request_len | ||
) |
We just received an ESTABLISH_INTRO cell in circ. Pass it to the appropriate handler.
Definition at line 500 of file hs_intropoint.c.
int hs_intro_received_introduce1 | ( | or_circuit_t * | circ, |
const uint8_t * | request, | ||
size_t | request_len | ||
) |
We just received an INTRODUCE1 cell on circ. Figure out which type it is and pass it to the appropriate handler. Return 0 on success else a negative value and the circuit is closed.
Definition at line 757 of file hs_intropoint.c.
int hs_intro_send_intro_established_cell | ( | or_circuit_t * | circ | ) |
Send an INTRO_ESTABLISHED cell to circ.
Definition at line 152 of file hs_intropoint.c.
void hs_intropoint_clear | ( | hs_intropoint_t * | ip | ) |
Clear memory allocated by the given intropoint object ip (but don't free the object itself).
Definition at line 790 of file hs_intropoint.c.