summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-11-15 15:23:51 -0500
committerNick Mathewson <nickm@torproject.org>2013-11-15 15:23:51 -0500
commit9e907076025ccd91abfad7fc70c09ba4c9228f82 (patch)
tree0046cb887736bb8007a31c6f390cdbebf5a70133 /src/or/or.h
parent82d8944928daf868d12797e59a3a58ce4cb4f205 (diff)
parent1b8ceb83c951f1cdea6b71a615a10d33b8adf2b3 (diff)
downloadtor-9e907076025ccd91abfad7fc70c09ba4c9228f82.tar.gz
tor-9e907076025ccd91abfad7fc70c09ba4c9228f82.zip
Merge branch 'bug9093_023' into maint-0.2.3
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index b8f334ece2..462239190b 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -912,8 +912,13 @@ typedef struct var_cell_t {
typedef struct packed_cell_t {
struct packed_cell_t *next; /**< Next cell queued on this circuit. */
char body[CELL_NETWORK_SIZE]; /**< Cell as packed for network. */
+ uint32_t inserted_time; /**< Time (in milliseconds since epoch, with high
+ * bits truncated) when this cell was inserted. */
} packed_cell_t;
+/* XXXX This next structure may be obsoleted by inserted_time in
+ * packed_cell_t */
+
/** Number of cells added to a circuit queue including their insertion
* time on 10 millisecond detail; used for buffer statistics. */
typedef struct insertion_time_elem_t {