Tor 0.4.9.0-alpha-dev
Data Structures | Macros
circuit_st.h File Reference

Base circuit structure. More...

#include "core/or/or.h"
#include "lib/container/handles.h"
#include "core/or/cell_queue_st.h"
#include "ext/ht.h"

Go to the source code of this file.

Data Structures

struct  circuit_t
 

Macros

#define CIRCPAD_MAX_MACHINES   (2)
 
#define ORIGIN_CIRCUIT_MAGIC   0x35315243u
 
#define OR_CIRCUIT_MAGIC   0x98ABC04Fu
 
#define DEAD_CIRCUIT_MAGIC   0xdeadc14c
 

Detailed Description

Base circuit structure.

Definition in file circuit_st.h.

Macro Definition Documentation

◆ CIRCPAD_MAX_MACHINES

#define CIRCPAD_MAX_MACHINES   (2)

Number of padding state machines on a circuit.

Definition at line 28 of file circuit_st.h.

◆ DEAD_CIRCUIT_MAGIC

#define DEAD_CIRCUIT_MAGIC   0xdeadc14c

"magic" value for a circuit that would have been freed by circuit_free, but which we're keeping around until a cpuworker reply arrives. See circuit_free() for more documentation.

Definition at line 37 of file circuit_st.h.

◆ OR_CIRCUIT_MAGIC

#define OR_CIRCUIT_MAGIC   0x98ABC04Fu

"magic" value for an or_circuit_t

Definition at line 33 of file circuit_st.h.

◆ ORIGIN_CIRCUIT_MAGIC

#define ORIGIN_CIRCUIT_MAGIC   0x35315243u

"magic" value for an origin_circuit_t

Definition at line 31 of file circuit_st.h.