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 | 915507020046c9488f277d523c22bb12995e14ea (patch) | |
tree | 0bcde034f2f71ef6091a3cdb3793c09d43ce0f89 /src/noise.h | |
parent | receive: simplify ip header checking logic (diff) | |
download | wireguard-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/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; |