[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[or-cvs] move cell size to 256. seems to work (?)
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home/arma/work/onion/cvs/src/or
Modified Files:
or.h
Log Message:
move cell size to 256. seems to work (?)
Index: or.h
===================================================================
RCS file: /home/or/cvsroot/src/or/or.h,v
retrieving revision 1.55
retrieving revision 1.56
diff -u -d -r1.55 -r1.56
--- or.h 24 Mar 2003 02:50:07 -0000 1.55
+++ or.h 24 Mar 2003 04:02:24 -0000 1.56
@@ -158,8 +158,8 @@
#define CELL_DESTROY 3
#define CELL_SENDME 4
-#define CELL_PAYLOAD_SIZE 120
-#define CELL_NETWORK_SIZE 128
+#define CELL_PAYLOAD_SIZE 248
+#define CELL_NETWORK_SIZE 256
/* enumeration of types which option values can take */
#define CONFIG_TYPE_STRING 0
@@ -188,7 +188,7 @@
unsigned char command;
unsigned char length; /* of payload if data cell, else value of sendme */
uint32_t seq; /* sequence number */
- unsigned char payload[120];
+ unsigned char payload[CELL_PAYLOAD_SIZE];
} cell_t;
#define SOCKS4_REQUEST_GRANTED 90