tor  0.4.2.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]
 

Detailed Description

A reply sent by a cpuworker.

Definition at line 133 of file cpuworker.c.

Field Documentation

◆ created_cell

created_cell_t cpuworker_reply_t::created_cell

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

Definition at line 156 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ handshake_type

uint16_t cpuworker_reply_t::handshake_type

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

Definition at line 143 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ keys

uint8_t cpuworker_reply_t::keys[CPATH_KEY_MATERIAL_LEN]

The keys to use on this circuit.

Definition at line 158 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ magic

uint32_t cpuworker_reply_t::magic

Magic number; must be CPUWORKER_REPLY_MAGIC.

Definition at line 135 of file cpuworker.c.

◆ n_usec

uint32_t cpuworker_reply_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 149 of file cpuworker.c.

◆ rend_auth_material

uint8_t cpuworker_reply_t::rend_auth_material[DIGEST_LEN]

Input to use for authenticating introduce1 cells.

Definition at line 160 of file cpuworker.c.

◆ started_at

struct timeval cpuworker_reply_t::started_at

When did we send the request to the cpuworker?

Definition at line 145 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().

◆ success

uint8_t cpuworker_reply_t::success

True iff we got a successful request.

Definition at line 138 of file cpuworker.c.

◆ timed

unsigned int cpuworker_reply_t::timed

Are we timing this request?

Definition at line 141 of file cpuworker.c.

Referenced by cpuworker_onion_handshake_threadfn().


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