From e9baf5d6cf5559b0327eaef667158e5adf56cf7e Mon Sep 17 00:00:00 2001 From: Matthias Schiffer Date: Fri, 9 Jan 2015 00:23:26 +0100 Subject: 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. --- src/types.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/types.h') 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; -- cgit v1.2.3