diff options
author | David Goulet <dgoulet@torproject.org> | 2017-03-07 14:57:14 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-08-08 20:29:33 -0400 |
commit | 5e710368b3e9a19862422d4bd43f2c1d8d0ceba8 (patch) | |
tree | c8ee8438e0f710cd75c92da07b8845bffd0e932f /src/or/hs_circuit.h | |
parent | faadbafba37932455ee60e02053e2e1300b63f33 (diff) | |
download | tor-5e710368b3e9a19862422d4bd43f2c1d8d0ceba8.tar.gz tor-5e710368b3e9a19862422d4bd43f2c1d8d0ceba8.zip |
prop224: Handle service INTRODUCE2 cell
At this commit, launching rendezvous circuit is not implemented, only a
placeholder.
Signed-off-by: David Goulet <dgoulet@torproject.org>
Diffstat (limited to 'src/or/hs_circuit.h')
-rw-r--r-- | src/or/hs_circuit.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/or/hs_circuit.h b/src/or/hs_circuit.h index bc29781d8f..1cada0b8a6 100644 --- a/src/or/hs_circuit.h +++ b/src/or/hs_circuit.h @@ -23,6 +23,9 @@ int hs_circ_service_intro_has_opened(hs_service_t *service, int hs_circ_launch_intro_point(hs_service_t *service, const hs_service_intro_point_t *ip, extend_info_t *ei, time_t now); +int hs_circ_launch_rendezvous_point(const hs_service_t *service, + const curve25519_public_key_t *onion_key, + const uint8_t *rendezvous_cookie); /* Cell API. */ void hs_circ_send_establish_intro(const hs_service_t *service, @@ -33,6 +36,11 @@ int hs_circ_handle_intro_established(const hs_service_t *service, origin_circuit_t *circ, const uint8_t *payload, size_t payload_len); +int hs_circ_handle_introduce2(const hs_service_t *service, + const origin_circuit_t *circ, + hs_service_intro_point_t *ip, + const uint8_t *subcredential, + const uint8_t *payload, size_t payload_len); /* e2e circuit API. */ |