diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-11 14:25:28 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-12-11 14:25:28 +0100 |
commit | 32216b8d5dc5a6f0e3185b0d959e4db855ce7ac5 (patch) | |
tree | f1288270505e5bf5c6fed90e6dc8e59f2ab0a4dd /src/cookie.h | |
parent | receive: simplify ip header checking logic (diff) | |
download | wireguard-linux-compat-32216b8d5dc5a6f0e3185b0d959e4db855ce7ac5.tar.xz wireguard-linux-compat-32216b8d5dc5a6f0e3185b0d959e4db855ce7ac5.zip |
global: move to consistent use of uN instead of uintN_t for kernel code
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/cookie.h')
-rw-r--r-- | src/cookie.h | 4 |
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; |