diff options
Diffstat (limited to 'spec/tor-spec/preliminaries.md')
-rw-r--r-- | spec/tor-spec/preliminaries.md | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/tor-spec/preliminaries.md b/spec/tor-spec/preliminaries.md index e69d47e..15cacf3 100644 --- a/spec/tor-spec/preliminaries.md +++ b/spec/tor-spec/preliminaries.md @@ -47,13 +47,15 @@ for these, the link protocol is denoted in this table with `v`. | Name | Length in bytes | Meaning | | ---- | --------------- | ------- | -| `PAYLOAD_LEN` | 509 | The longest payload for a [fixed-length cell](./cell-packet-format.md#fixed-length-cell). | +| `CELL_BODY_LEN` | 509 | The body length for a [fixed-length cell](./cell-packet-format.md#fixed-length-cell). | | `CIRCID_LEN(v)`, `v` < 4 | 2 | The length of a [circuit ID](./cell-packet-format.md#circid) | | `CIRCID_LEN(v)`, `v` ≥ 4 | 4 | | | `CELL_LEN(v)`, `v` < 4 | 512 | The length of a [fixed-length cell](./cell-packet-format.md). | | `CELL_LEN(v)`, `v` ≥ 4 | 514 | | -Note that for all `v`, `CELL_LEN(v) = 1 + CIRCID_LEN(v) + PAYLOAD_LEN`. +Note that for all `v`, `CELL_LEN(v) = 1 + CIRCID_LEN(v) + CELL_BODY_LEN`. + +> Formerly `CELL_BODY_LEN` was called sometimes called `PAYLOAD_LEN`. <a id="tor-spec.txt-0.3"></a> |