summaryrefslogtreecommitdiffstats
path: root/src/types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2015-01-09 00:23:26 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2015-01-09 00:23:26 +0100
commite9baf5d6cf5559b0327eaef667158e5adf56cf7e (patch)
tree09409d7f96e7f845835f48027fff4f436df407fb /src/types.h
parent05a41fe0ca9aa333b13ab509a1bf2d497e26c273 (diff)
downloadfastd-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/types.h')
-rw-r--r--src/types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/types.h b/src/types.h
index d0a0221..01b36f5 100644
--- a/src/types.h
+++ b/src/types.h
@@ -107,6 +107,7 @@ typedef struct fastd_mac_info fastd_mac_info_t;
typedef struct fastd_mac fastd_mac_t;
typedef struct fastd_handshake fastd_handshake_t;
+typedef struct fastd_handshake_buffer fastd_handshake_buffer_t;
typedef struct fastd_lex fastd_lex_t;
typedef struct fastd_parser_state fastd_parser_state_t;