tor  0.4.1.0-alpha-dev
cell_queue_st.h
1 /* Copyright (c) 2001 Matej Pfajfar.
2  * Copyright (c) 2001-2004, Roger Dingledine.
3  * Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4  * Copyright (c) 2007-2019, The Tor Project, Inc. */
5 /* See LICENSE for licensing information */
6 
7 #ifndef PACKED_CELL_ST_H
8 #define PACKED_CELL_ST_H
9 
10 #include "tor_queue.h"
11 
13 struct packed_cell_t {
17  uint32_t inserted_timestamp;
19 };
20 
23 struct cell_queue_t {
25  TOR_SIMPLEQ_HEAD(cell_simpleq, packed_cell_t) head;
26  int n;
27 };
28 
29 #endif
TOR_SIMPLEQ_HEAD(cell_simpleq, packed_cell_t) head
char body[CELL_MAX_NETWORK_SIZE]
Definition: cell_queue_st.h:16
uint32_t inserted_timestamp
Definition: cell_queue_st.h:17
#define CELL_MAX_NETWORK_SIZE
Definition: or.h:579
TOR_SIMPLEQ_ENTRY(packed_cell_t) next