diff options
author | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-30 02:26:30 +0200 |
---|---|---|
committer | Matthias Schiffer <mschiffer@universe-factory.net> | 2012-03-30 02:26:30 +0200 |
commit | ca127fccb899627e9e9a69d139bd27d79b30cd54 (patch) | |
tree | d6aba2530629cf805fc279dcb2702a3f66cdd177 /src/packet.h | |
parent | 4d696a973af61e716959801c88b3ddbeca582e89 (diff) | |
download | fastd-ca127fccb899627e9e9a69d139bd27d79b30cd54.tar fastd-ca127fccb899627e9e9a69d139bd27d79b30cd54.zip |
Rework handshake... again. ecfxp protocol broken, will be fixed with next commit.
Diffstat (limited to 'src/packet.h')
-rw-r--r-- | src/packet.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/packet.h b/src/packet.h index 4da0110..76a64d1 100644 --- a/src/packet.h +++ b/src/packet.h @@ -36,31 +36,6 @@ typedef enum _fastd_packet_type { PACKET_DATA, } fastd_packet_type; -typedef enum _fastd_handshake_record_type { - RECORD_HANDSHAKE_TYPE = 0, - RECORD_REPLY_CODE, - RECORD_ERROR_DETAIL, - RECORD_FLAGS, - RECORD_MODE, - RECORD_PROTOCOL_NAME, - RECORD_MAX, -} fastd_handshake_record_type; - -typedef enum _fastd_handshake_type { - HANDSHAKE_REQUEST = 0, - HANDSHAKE_REPLY, - HANDSHAKE_REHANDSHAKE_REQUEST, - HANDSHAKE_MAX, -} fastd_handshake_type; - -typedef enum _fastd_reply_code { - REPLY_SUCCESS = 0, - REPLY_MANDATORY_MISSING, - REPLY_UNACCEPTABLE_VALUE, - REPLY_MAX, -} fastd_reply_code; - - typedef struct __attribute__ ((__packed__)) _fastd_packet { uint8_t req_id; uint16_t rsv; |