diff options
author | David Goulet <dgoulet@torproject.org> | 2024-02-15 13:42:51 +0000 |
---|---|---|
committer | David Goulet <dgoulet@torproject.org> | 2024-02-15 13:42:51 +0000 |
commit | 29e445bd6e9efe82367b8a2b09a6c6aa0bc92b7b (patch) | |
tree | b3a1461d79def5fda24d71cb5c184f13ce958792 /spec/tor-spec/preliminaries.md | |
parent | e0b7f63a78edf92ff194d82cff70b87655c6b642 (diff) | |
parent | eb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7 (diff) | |
download | torspec-29e445bd6e9efe82367b8a2b09a6c6aa0bc92b7b.tar.gz torspec-29e445bd6e9efe82367b8a2b09a6c6aa0bc92b7b.zip |
Merge branch 'payload' into 'main'
Replace "payload" with "body"
See merge request tpo/core/torspec!248
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> |