Tor 0.4.9.1-alpha-dev
Data Fields
cpuworker_reply_t Struct Reference

Data Fields

uint32_t magic
 
uint8_t success
 
unsigned int timed: 1
 
uint16_t handshake_type
 
struct timeval started_at
 
uint32_t n_usec
 
created_cell_t created_cell
 
uint8_t keys [CPATH_KEY_MATERIAL_LEN]
 
uint8_t rend_auth_material [DIGEST_LEN]
 
circuit_params_t circ_params
 

Detailed Description

A reply sent by a cpuworker.

Definition at line 186 of file cpuworker.c.

Field Documentation

◆ circ_params

circuit_params_t circ_params

Negotiated circuit parameters.

Definition at line 215 of file cpuworker.c.

◆ created_cell

created_cell_t created_cell

Output of processing a create cell The created cell to send back.

Definition at line 209 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ handshake_type

uint16_t handshake_type

What handshake type was the request? (Used for timing)

Definition at line 196 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ keys

uint8_t keys[CPATH_KEY_MATERIAL_LEN]

The keys to use on this circuit.

Definition at line 211 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ magic

uint32_t magic

Magic number; must be CPUWORKER_REPLY_MAGIC.

Definition at line 188 of file cpuworker.c.

◆ n_usec

uint32_t n_usec

Once the cpuworker received the request, how many microseconds did it take? (This shouldn't overflow; 4 billion micoseconds is over an hour, and we'll never have an onion handshake that takes so long.)

Definition at line 202 of file cpuworker.c.

◆ rend_auth_material

uint8_t rend_auth_material[DIGEST_LEN]

Input to use for authenticating introduce1 cells.

Definition at line 213 of file cpuworker.c.

◆ started_at

struct timeval started_at

When did we send the request to the cpuworker?

Definition at line 198 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ success

uint8_t success

True iff we got a successful request.

Definition at line 191 of file cpuworker.c.

◆ timed

unsigned int timed

Are we timing this request?

Definition at line 194 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().


The documentation for this struct was generated from the following file: