aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/cookie.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2016-12-11 14:25:28 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2016-12-11 14:25:28 +0100
commit915507020046c9488f277d523c22bb12995e14ea (patch)
tree0bcde034f2f71ef6091a3cdb3793c09d43ce0f89 /src/cookie.h
parentreceive: simplify ip header checking logic (diff)
downloadwireguard-monolithic-historical-915507020046c9488f277d523c22bb12995e14ea.tar.xz
wireguard-monolithic-historical-915507020046c9488f277d523c22bb12995e14ea.zip
global: move to consistent use of uN instead of uintN_t for kernel code
Diffstat (limited to 'src/cookie.h')
-rw-r--r--src/cookie.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cookie.h b/src/cookie.h
index 2417cc0..4ea20e1 100644
--- a/src/cookie.h
+++ b/src/cookie.h
@@ -13,14 +13,14 @@ struct sk_buff;
struct cookie_checker {
u8 secret[NOISE_HASH_LEN];
- uint64_t secret_birthdate;
+ u64 secret_birthdate;
struct rw_semaphore secret_lock;
struct ratelimiter ratelimiter;
struct wireguard_device *device;
};
struct cookie {
- uint64_t birthdate;
+ u64 birthdate;
bool is_valid;
u8 cookie[COOKIE_LEN];
bool have_sent_mac1;