aboutsummaryrefslogtreecommitdiff
path: root/src/protocol.h
diff options
context:
space:
mode:
authorDavid Timber <mieabby@gmail.com>2020-09-03 15:51:39 +0930
committerDavid Timber <mieabby@gmail.com>2020-09-03 15:52:28 +0930
commit55f73d9c963cdd1ddda8741e178d0930b99e2eb8 (patch)
tree95400f34e24b01b06e056635b7053565d6abd5e6 /src/protocol.h
parente81c2636cee72af718e99fd98006fa9277de2a65 (diff)
* [proone] Use hashed value for shared global file
name * [htbt] Verify ALPN * [htbt] Bug fixes regarding poll() * [htbt] Run w/o resolv
Diffstat (limited to 'src/protocol.h')
-rw-r--r--src/protocol.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/protocol.h b/src/protocol.h
index 0f2beeb..c38a459 100644
--- a/src/protocol.h
+++ b/src/protocol.h
@@ -258,6 +258,7 @@ typedef bool(*prne_htbt_eq_ft)(const void *a, const void *b);
typedef prne_htbt_ser_rc_t(*prne_htbt_ser_ft)(uint8_t *mem, const size_t mem_len, size_t *actual, const void *in);
typedef prne_htbt_ser_rc_t(*prne_htbt_dser_ft)(const uint8_t *data, const size_t len, size_t *actual, void *out);
+#define PRNE_HTBT_TLS_ALP "prne-htbt"
#define PRNE_HTBT_MSG_ID_MIN 1
#define PRNE_HTBT_MSG_ID_MAX INT16_MAX
#define PRNE_HTBT_MSG_ID_DELTA INT16_MAX