aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2002-07-18 06:38:32 +0000
committerRoger Dingledine <arma@torproject.org>2002-07-18 06:38:32 +0000
commit0a8d58138df722194517ac65abe6716bf404df3b (patch)
tree2f0fe10578f0d466ce88d65ce74cf1c25bb2a5db
parent267434bdeac40a2ccc2677119ddc1925b80c0c4c (diff)
downloadtor-0a8d58138df722194517ac65abe6716bf404df3b.tar.gz
tor-0a8d58138df722194517ac65abe6716bf404df3b.zip
changes to support sendme cells
svn:r55
-rw-r--r--src/common/cell.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/common/cell.h b/src/common/cell.h
index 726c01a7fb..cbc2caca76 100644
--- a/src/common/cell.h
+++ b/src/common/cell.h
@@ -8,8 +8,11 @@
/*
* Changes :
* $Log$
- * Revision 1.1 2002/06/26 22:45:50 arma
- * Initial revision
+ * Revision 1.2 2002/07/18 06:38:32 arma
+ * changes to support sendme cells
+ *
+ * Revision 1.1.1.1 2002/06/26 22:45:50 arma
+ * initial commit: current code
*
* Revision 1.14 2002/04/02 14:27:11 badbytes
* Final finishes.
@@ -67,6 +70,7 @@
#define CELL_DESTROY 3
#define CELL_ACK 4
#define CELL_NACK 5
+#define CELL_SENDME 6
#define CELL_PAYLOAD_SIZE 120
@@ -75,7 +79,7 @@ typedef struct
{
uint16_t aci; /* Anonymous Connection Identifier */
unsigned char command;
- unsigned char length; /* of payload */
+ unsigned char length; /* of payload if data cell, else value of sendme */
uint32_t seq; /* sequence number */
unsigned char payload[120];
} cell_t;