summaryrefslogtreecommitdiffstats
path: root/doc/source/devel
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-01-26 23:59:38 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-01-26 23:59:38 +0100
commit5f65a56f4a36f2e63f6466514a9f02a8a0c7af61 (patch)
tree4ac77c07203feab93846c2fd30d7ee19a2958ed3 /doc/source/devel
parent70ac086d24b2d23cdad754da778639fdc79ac2fb (diff)
downloadfastd-5f65a56f4a36f2e63f6466514a9f02a8a0c7af61.tar
fastd-5f65a56f4a36f2e63f6466514a9f02a8a0c7af61.zip
doc: update handshake protocol documentation
Diffstat (limited to 'doc/source/devel')
-rw-r--r--doc/source/devel/protocol.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/devel/protocol.rst b/doc/source/devel/protocol.rst
index a8c3c71..274016e 100644
--- a/doc/source/devel/protocol.rst
+++ b/doc/source/devel/protocol.rst
@@ -15,8 +15,10 @@ values are reserved for future use and must be ignored by current implementation
Handshake format
~~~~~~~~~~~~~~~~
-For historical reasons, all multi-byte values mentioned in the handshake specification are transmitted in Little Endian byte order
-unless specified otherwise.
+For historical reasons, there are two different TLV encodings: all multi-byte values mentioned in the handshake specification
+may be transmitted either in big endian or in little endian byte order. As fastd versions before v17 only understand the old
+little endian format, fastd will always transmit its handshake as little endian to maintain compatiblity, but it can also
+understand and correctly handle the new big endian format to support future fastd versions which will use the new format.
The initial ``0x01`` byte together with the next three bytes form the 4-byte handshake header; the rest of
the packet after the header consists of a list of TLV records. The second header byte is reserved and must