Tor 0.4.9.0-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 185 of file cpuworker.c.

Field Documentation

◆ circ_params

circuit_params_t circ_params

Negotiated circuit parameters.

Definition at line 214 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 208 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 195 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 210 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ magic

uint32_t magic

Magic number; must be CPUWORKER_REPLY_MAGIC.

Definition at line 187 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 201 of file cpuworker.c.

◆ rend_auth_material

uint8_t rend_auth_material[DIGEST_LEN]

Input to use for authenticating introduce1 cells.

Definition at line 212 of file cpuworker.c.

◆ started_at

struct timeval started_at

When did we send the request to the cpuworker?

Definition at line 197 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ success

uint8_t success

True iff we got a successful request.

Definition at line 190 of file cpuworker.c.

◆ timed

unsigned int timed

Are we timing this request?

Definition at line 193 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().


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