Tor
0.4.9.2-alpha-dev
Toggle main menu visibility
Main Page
Related Pages
Modules
Data Structures
Data Structures
Data Structure Index
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerator
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Typedefs
b
c
d
f
g
h
l
m
n
o
p
r
s
v
Enumerations
a
b
c
d
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
Enumerator
a
b
c
d
e
g
h
i
m
n
o
p
q
r
s
t
v
w
Macros
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
x
•
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Modules
Pages
core
or
cell_st.h
Go to the documentation of this file.
1
/* Copyright (c) 2001 Matej Pfajfar.
2
* Copyright (c) 2001-2004, Roger Dingledine.
3
* Copyright (c) 2004-2006, Roger Dingledine, Nick Mathewson.
4
* Copyright (c) 2007-2021, The Tor Project, Inc. */
5
/* See LICENSE for licensing information */
6
7
/**
8
* @file cell_st.h
9
* @brief Fixed-size cell structure.
10
**/
11
12
#ifndef CELL_ST_H
13
#define CELL_ST_H
14
15
/** Parsed onion routing cell. All communication between nodes
16
* is via cells. */
17
struct
cell_t
{
18
circid_t
circ_id
;
/**< Circuit which received the cell. */
19
uint8_t
command
;
/**< Type of the cell: one of CELL_PADDING, CELL_CREATE,
20
* CELL_DESTROY, etc */
21
uint8_t
payload
[
CELL_PAYLOAD_SIZE
];
/**< Cell body. */
22
};
23
24
#endif
/* !defined(CELL_ST_H) */
CELL_PAYLOAD_SIZE
#define CELL_PAYLOAD_SIZE
Definition:
or.h:520
circid_t
uint32_t circid_t
Definition:
or.h:579
cell_t
Definition:
cell_st.h:17
cell_t::payload
uint8_t payload[CELL_PAYLOAD_SIZE]
Definition:
cell_st.h:21
cell_t::command
uint8_t command
Definition:
cell_st.h:19
cell_t::circ_id
circid_t circ_id
Definition:
cell_st.h:18
Generated by
1.9.4