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/peer.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/peer.h')
-rw-r--r-- | src/peer.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -35,11 +35,11 @@ struct wireguard_peer { rwlock_t endpoint_lock; struct noise_handshake handshake; struct noise_keypairs keypairs; - uint64_t last_sent_handshake; + u64 last_sent_handshake; struct work_struct transmit_handshake_work, clear_peer_work; struct cookie latest_cookie; struct hlist_node pubkey_hash; - uint64_t rx_bytes, tx_bytes; + u64 rx_bytes, tx_bytes; struct timer_list timer_retransmit_handshake, timer_send_keepalive, timer_new_handshake, timer_kill_ephemerals, timer_persistent_keepalive; unsigned int timer_handshake_attempts; unsigned long persistent_keepalive_interval; @@ -51,7 +51,7 @@ struct wireguard_peer { struct kref refcount; struct rcu_head rcu; struct list_head peer_list; - uint64_t internal_id; + u64 internal_id; #ifdef CONFIG_WIREGUARD_PARALLEL atomic_t parallel_encryption_inflight; #endif |