tor  master
Data Fields
cpuworker_reply_t Struct Reference
Collaboration diagram for cpuworker_reply_t:
Collaboration graph
[legend]

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.

Field Documentation

◆ created_cell

created_cell_t created_cell

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

◆ handshake_type

uint16_t handshake_type

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

◆ keys

uint8_t keys[CPATH_KEY_MATERIAL_LEN]

The keys to use on this circuit.

◆ magic

uint32_t magic

Magic number; must be CPUWORKER_REPLY_MAGIC.

◆ 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.)

◆ rend_auth_material

uint8_t rend_auth_material[DIGEST_LEN]

Input to use for authenticating introduce1 cells.

◆ started_at

struct timeval started_at

When did we send the request to the cpuworker?

◆ success

uint8_t success

True iff we got a successful request.

◆ timed

unsigned int timed

Are we timing this request?


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