summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-04-12 23:33:47 +0000
committerNick Mathewson <nickm@torproject.org>2004-04-12 23:33:47 +0000
commita5bfe845096b13f676c57cfbebb9409bacbfa124 (patch)
tree6e3a13d210c91af6b5eb5874ddb7642b95465341 /src/or/or.h
parentf4ff5a75c141b671432cd1b9a9a0e102ca872562 (diff)
downloadtor-a5bfe845096b13f676c57cfbebb9409bacbfa124.tar.gz
tor-a5bfe845096b13f676c57cfbebb9409bacbfa124.zip
ACK/NAK INTRODUCE1 requests. (We do no useful processing on them yet)
svn:r1597
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 0ddbef0b4a..dfc52a2d6c 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -247,11 +247,12 @@
#define RELAY_COMMAND_ESTABLISH_RENDEZVOUS 33
#define RELAY_COMMAND_INTRODUCE1 34
#define RELAY_COMMAND_INTRODUCE2 35
-#define RELAY_COMMAND_RENDEZVOUS1 36
-#define RELAY_COMMAND_RENDEZVOUS2 37
+#define RELAY_COMMAND_INTRODUCE_ACK 36
+#define RELAY_COMMAND_RENDEZVOUS1 37
+#define RELAY_COMMAND_RENDEZVOUS2 38
/* DOCDOC Spec these next two. */
-#define RELAY_COMMAND_INTRO_ESTABLISHED 38
-#define RELAY_COMMAND_RENDEZVOUS_ESTABLISHED 39
+#define RELAY_COMMAND_INTRO_ESTABLISHED 39
+#define RELAY_COMMAND_RENDEZVOUS_ESTABLISHED 40
#define _MIN_END_STREAM_REASON 1
#define END_STREAM_REASON_MISC 1
@@ -1057,6 +1058,7 @@ void rep_hist_dump_stats(time_t now, int severity);
void rend_client_introcirc_is_open(circuit_t *circ);
void rend_client_rendcirc_is_open(circuit_t *circ);
+int rend_client_introduction_acked(circuit_t *circ, const char *request, int request_len);
int rend_client_rendezvous_acked(circuit_t *circ, const char *request, int request_len);
int rend_client_receive_rendezvous(circuit_t *circ, const char *request, int request_len);
void rend_client_desc_fetched(char *query, int success);