diff options
author | David Timber <mieabby@gmail.com> | 2020-09-03 15:51:39 +0930 |
---|---|---|
committer | David Timber <mieabby@gmail.com> | 2020-09-03 15:52:28 +0930 |
commit | 55f73d9c963cdd1ddda8741e178d0930b99e2eb8 (patch) | |
tree | 95400f34e24b01b06e056635b7053565d6abd5e6 /src/protocol.h | |
parent | e81c2636cee72af718e99fd98006fa9277de2a65 (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.h | 1 |
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 |