Tor 0.4.9.8
Loading...
Searching...
No Matches
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.

Referenced by circuit_free_(), and cpuworker_onion_handshake_replyfn().

◆ OR_CIRCUIT_MAGIC

◆ ORIGIN_CIRCUIT_MAGIC

#define ORIGIN_CIRCUIT_MAGIC   0x35315243u