summaryrefslogtreecommitdiffstats
path: root/ffd/tlv_types.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2012-10-05 04:56:08 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2012-10-05 04:56:08 +0200
commit4cf3389fcf094c095d685a3e9f65a5d1fafff717 (patch)
tree28178dbd858ea08fda978c9aa63e8dd28bd16b6c /ffd/tlv_types.h
parentbb7392551ed8578171941b81cf3ed2cfc4ad2b1b (diff)
downloadffd-4cf3389fcf094c095d685a3e9f65a5d1fafff717.tar
ffd-4cf3389fcf094c095d685a3e9f65a5d1fafff717.zip
Add ack request handling
Diffstat (limited to 'ffd/tlv_types.h')
-rw-r--r--ffd/tlv_types.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/ffd/tlv_types.h b/ffd/tlv_types.h
index afe793a..07eba53 100644
--- a/ffd/tlv_types.h
+++ b/ffd/tlv_types.h
@@ -30,6 +30,16 @@
#include "tlv.h"
+typedef struct __attribute__((packed)) _ffd_tlv_ack_req_t {
+ uint16_t reserved;
+ uint16_t nonce;
+ uint16_t interval;
+} ffd_tlv_ack_req_t;
+
+typedef struct __attribute__((packed)) _ffd_tlv_ack_t {
+ uint16_t nonce;
+} ffd_tlv_ack_t;
+
typedef struct __attribute__((packed)) _ffd_tlv_hello_t {
uint16_t reserved;
uint16_t seqno;