summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2006-10-07 01:10:57 +0000
committerRoger Dingledine <arma@torproject.org>2006-10-07 01:10:57 +0000
commite67e1749329adf8ceb81c82835f2f59b2c857b56 (patch)
tree59b5a830d064dff6aba9ace9a8d835855e4ead0a
parent881d23847aa6dc7d1ebe856b93fee48eeb1b486c (diff)
downloadtor-e67e1749329adf8ceb81c82835f2f59b2c857b56.tar.gz
tor-e67e1749329adf8ceb81c82835f2f59b2c857b56.zip
mark which relay cells are control cells.
svn:r8624
-rw-r--r--doc/tor-spec.txt17
1 files changed, 10 insertions, 7 deletions
diff --git a/doc/tor-spec.txt b/doc/tor-spec.txt
index a5f6af666f..cf6f78fb44 100644
--- a/doc/tor-spec.txt
+++ b/doc/tor-spec.txt
@@ -621,12 +621,12 @@ TODO:
2 -- RELAY_DATA [forward or backward]
3 -- RELAY_END [forward or backward]
4 -- RELAY_CONNECTED [backward]
- 5 -- RELAY_SENDME [forward or backward]
- 6 -- RELAY_EXTEND [forward]
- 7 -- RELAY_EXTENDED [backward]
- 8 -- RELAY_TRUNCATE [forward]
- 9 -- RELAY_TRUNCATED [backward]
- 10 -- RELAY_DROP [forward or backward]
+ 5 -- RELAY_SENDME [forward or backward] [sometimes control]
+ 6 -- RELAY_EXTEND [forward] [control]
+ 7 -- RELAY_EXTENDED [backward] [control]
+ 8 -- RELAY_TRUNCATE [forward] [control]
+ 9 -- RELAY_TRUNCATED [backward] [control]
+ 10 -- RELAY_DROP [forward or backward] [control]
11 -- RELAY_RESOLVE [forward]
12 -- RELAY_RESOLVED [backward]
13 -- RELAY_BEGIN_DIR [forward]
@@ -657,7 +657,10 @@ TODO:
All RELAY cells pertaining to the same tunneled stream have the
same stream ID. StreamIDs are chosen arbitrarily by the OP. RELAY
cells that affect the entire circuit rather than a particular
- stream use a StreamID of zero.
+ stream use a StreamID of zero -- they are marked in the table above
+ as "[control]" style cells. (Sendme cells are marked as "sometimes
+ control" because they can take include a StreamID or not depending
+ on their purpose -- see Section 7.)
The 'Length' field of a relay cell contains the number of bytes in
the relay payload which contain real payload data. The remainder of