diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-09 00:23:26 +0100 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2015-01-09 00:23:26 +0100 |
commit | e9baf5d6cf5559b0327eaef667158e5adf56cf7e (patch) | |
tree | 09409d7f96e7f845835f48027fff4f436df407fb /src/peer.h | |
parent | 05a41fe0ca9aa333b13ab509a1bf2d497e26c273 (diff) | |
download | fastd-e9baf5d6cf5559b0327eaef667158e5adf56cf7e.tar fastd-e9baf5d6cf5559b0327eaef667158e5adf56cf7e.zip |
Add support for a new big-endian handshake format
Because of strange dicisions in the past, fastd currently uses little endian
type and length values in its handshake. As the common network byte order is
big endian, changing the handshake format would be preferable.
This commit adds support for a new big-endian handshake. For now, fastd will
continue to send little-endian handshakes so ensure backwarts compatiblity, but
if it receives a big-endian handshake, it will respond with a big-endian one.
Diffstat (limited to 'src/peer.h')
0 files changed, 0 insertions, 0 deletions