[or-cvs] changes to support sendme cells

Roger Dingledine arma at seul.org
Thu Jul 18 06:38:34 UTC 2002


Update of /home/or/cvsroot/src/common
In directory moria.seul.org:/home/arma/work/onion/cvs/src/common

Modified Files:
	cell.h 
Log Message:
changes to support sendme cells


Index: cell.h
===================================================================
RCS file: /home/or/cvsroot/src/common/cell.h,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- cell.h	26 Jun 2002 22:45:50 -0000	1.1.1.1
+++ cell.h	18 Jul 2002 06:38:32 -0000	1.2
@@ -8,6 +8,9 @@
 /*
  * Changes :
  * $Log$
+ * 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
  *
@@ -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 @@
 {
   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;



More information about the tor-commits mailing list