Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
18771e85
Commit
18771e85
authored
Jul 26, 2006
by
Nick Mathewson
🥄
Browse files
r6907@Kushana: nickm | 2006-07-25 19:03:43 -0400
Realign circuit structs to avoid wasted space. svn:r6905
parent
e61d28df
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/or.h
View file @
18771e85
...
...
@@ -1077,10 +1077,10 @@ typedef struct circuit_t {
char
n_conn_id_digest
[
DIGEST_LEN
];
/** The circuit_id used in the next (forward) hop of this circuit. */
uint16_t
n_circ_id
;
/** The IPv4 address of the OR that is next in this circuit. */
uint32_t
n_addr
;
/** The port for the OR that is next in this circuit. */
uint16_t
n_port
;
/** The IPv4 address of the OR that is next in this circuit. */
uint32_t
n_addr
;
/** How many relay data cells can we package (read from edge streams)
* on this circuit before we receive a circuit-level sendme cell asking
* for more? */
...
...
@@ -1122,9 +1122,6 @@ typedef struct origin_circuit_t {
/** Linked list of AP streams associated with this circuit. */
connection_t
*
p_streams
;
/** The next stream_id that will be tried when we're attempting to
* construct a new AP stream originating at this circuit. */
uint16_t
next_stream_id
;
/** Build state for this circuit. It includes the intended path
* length, the chosen exit router, rendezvous information, etc.
*/
...
...
@@ -1155,6 +1152,10 @@ typedef struct origin_circuit_t {
*/
char
rend_query
[
REND_SERVICE_ID_LEN
+
1
];
/** The next stream_id that will be tried when we're attempting to
* construct a new AP stream originating at this circuit. */
uint16_t
next_stream_id
;
}
origin_circuit_t
;
typedef
struct
or_circuit_t
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment