projects
/
haproxy-2.5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
578a789
)
MINOR: quic: Add a typedef for unsigned long long
author
Frédéric Lécaille
<flecaille@haproxy.com>
Thu, 16 Sep 2021 09:04:49 +0000
(11:04 +0200)
committer
Amaury Denoyelle
<adenoyelle@haproxy.com>
Thu, 23 Sep 2021 13:27:25 +0000
(15:27 +0200)
As we manipulate very uint64_t variables which must be cast to
unsigned long long to be printed, let's add this useful type definition.
include/haproxy/xprt_quic-t.h
patch
|
blob
|
history
diff --git
a/include/haproxy/xprt_quic-t.h
b/include/haproxy/xprt_quic-t.h
index
df0125e
..
1bbae96
100644
(file)
--- a/
include/haproxy/xprt_quic-t.h
+++ b/
include/haproxy/xprt_quic-t.h
@@
-41,6
+41,8
@@
#include <import/eb64tree.h>
#include <import/ebmbtree.h>
+typedef unsigned long long ull;
+
#define QUIC_PROTOCOL_VERSION_DRAFT_28 0xff00001c /* draft-28 */
#define QUIC_PROTOCOL_VERSION_DRAFT_29 0xff00001d /* draft-29 */
#define QUIC_PROTOCOL_VERSION_1 0x00000001 /* V1 */