summaryrefslogtreecommitdiffstats
path: root/src/methods/common.h
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2013-11-15 05:44:02 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2013-11-15 05:44:02 +0100
commit0504f57c91eb7dd2ac4adfc6906e006f775a76e4 (patch)
tree4de445b2525fdfd4fafe0dfa97fd266dde7efd2f /src/methods/common.h
parentbef39b72834173e969efc6cee10145300a3af94c (diff)
downloadfastd-0504f57c91eb7dd2ac4adfc6906e006f775a76e4.tar
fastd-0504f57c91eb7dd2ac4adfc6906e006f775a76e4.zip
methods/common: decrease nonce length to 6, add flags byte
Diffstat (limited to 'src/methods/common.h')
-rw-r--r--src/methods/common.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/methods/common.h b/src/methods/common.h
index 6be32e9..d3218ae 100644
--- a/src/methods/common.h
+++ b/src/methods/common.h
@@ -30,8 +30,10 @@
#include "../fastd.h"
-#define COMMON_NONCEBYTES 7
+#define COMMON_NONCEBYTES 6
+#define COMMON_FLAGBYTES 1
+#define COMMON_HEADBYTES (COMMON_NONCEBYTES+COMMON_FLAGBYTES)
typedef struct fastd_method_common {
struct timespec valid_till;