aboutsummaryrefslogtreecommitdiff
path: root/spec/tor-spec/preliminaries.md
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2024-02-13 14:18:30 -0500
committerNick Mathewson <nickm@torproject.org>2024-02-13 14:18:30 -0500
commiteb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7 (patch)
tree695b96a2b4e38beb512650365d1d0fd6db935e5f /spec/tor-spec/preliminaries.md
parentf5ef6e7ac1211570536cd2a25ae53705a2465152 (diff)
downloadtorspec-eb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7.tar.gz
torspec-eb1886396dcc69303c2bb6ec1fbedc9f9eeae4f7.zip
Replace "payload" with "body"
We had used these terms inconsistently; "payload" was far less common. Part of #253.
Diffstat (limited to 'spec/tor-spec/preliminaries.md')
-rw-r--r--spec/tor-spec/preliminaries.md6
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>