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/noise.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/noise.h')
-rw-r--r-- | src/noise.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/noise.h b/src/noise.h index f166cdc..724b0d0 100644 --- a/src/noise.h +++ b/src/noise.h @@ -30,7 +30,7 @@ union noise_counter { struct noise_symmetric_key { u8 key[NOISE_SYMMETRIC_KEY_LEN]; union noise_counter counter; - uint64_t birthdate; + u64 birthdate; bool is_valid; }; @@ -42,7 +42,7 @@ struct noise_keypair { bool i_am_the_initiator; struct kref refcount; struct rcu_head rcu; - uint64_t internal_id; + u64 internal_id; }; struct noise_keypairs { @@ -72,7 +72,7 @@ struct noise_handshake { struct index_hashtable_entry entry; enum noise_handshake_state state; - uint64_t last_initiation_consumption; + u64 last_initiation_consumption; struct noise_static_identity *static_identity; |