瀏覽代碼

Documented the meaning of the EncodingScheme form in the inter-router message and linked to cjdnsctrl (parser/serializer)

Caleb James DeLisle 7 年之前
父節點
當前提交
fd93ab31d9
共有 1 個文件被更改,包括 7 次插入1 次删除
  1. 7 1
      doc/Whitepaper.md

+ 7 - 1
doc/Whitepaper.md

@@ -532,6 +532,9 @@ The Switch Header may be followed by three different types of packets:
 
 TODO
 
+See [this parser](https://github.com/cjdelisle/cjdnsctrl) for more information
+about the CTRL packet.
+
 #### Switch Data Header
 
 The layout of the Switch Data Header is the following:
@@ -642,7 +645,10 @@ Possible keys in a router message include:
     address `tar`.
   * `pn`: ping node
 * `ei` (integer): the encoding index. References one of the forms of the
-  encoding scheme `es`. (TODO: to do what?)
+  encoding scheme `es`. This is needed when crafting the label to send a
+  packet through the node which has returned this message. The following hop
+  must be encoded in this form or a greater one otherwise the return path
+  cannot be represented.
 * `es` (byte string): the encoding scheme. See the section above about its
   format.
 * `n` (byte string): list of nodes. See below for its serialization.