diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:36:20 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-10-08 03:38:12 +0200 |
commit | 1027c1fb4493130ed9df96fd4092c4bf9c599b82 (patch) | |
tree | 9cc86eb2c6c003f220c9d66171a2d5d0f59745b6 /src/timers.h | |
parent | 021084071d57c47c9aabe9c3fcd9be8fd870fa0e (diff) |
global: rename struct wireguard_ to struct wg_
This required a bit of pruning of our christmas trees.
Suggested-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/timers.h')
-rw-r--r-- | src/timers.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/timers.h b/src/timers.h index eef4248..5f29461 100644 --- a/src/timers.h +++ b/src/timers.h @@ -8,18 +8,18 @@ #include <linux/ktime.h> -struct wireguard_peer; +struct wg_peer; -void wg_timers_init(struct wireguard_peer *peer); -void wg_timers_stop(struct wireguard_peer *peer); -void wg_timers_data_sent(struct wireguard_peer *peer); -void wg_timers_data_received(struct wireguard_peer *peer); -void wg_timers_any_authenticated_packet_sent(struct wireguard_peer *peer); -void wg_timers_any_authenticated_packet_received(struct wireguard_peer *peer); -void wg_timers_handshake_initiated(struct wireguard_peer *peer); -void wg_timers_handshake_complete(struct wireguard_peer *peer); -void wg_timers_session_derived(struct wireguard_peer *peer); -void wg_timers_any_authenticated_packet_traversal(struct wireguard_peer *peer); +void wg_timers_init(struct wg_peer *peer); +void wg_timers_stop(struct wg_peer *peer); +void wg_timers_data_sent(struct wg_peer *peer); +void wg_timers_data_received(struct wg_peer *peer); +void wg_timers_any_authenticated_packet_sent(struct wg_peer *peer); +void wg_timers_any_authenticated_packet_received(struct wg_peer *peer); +void wg_timers_handshake_initiated(struct wg_peer *peer); +void wg_timers_handshake_complete(struct wg_peer *peer); +void wg_timers_session_derived(struct wg_peer *peer); +void wg_timers_any_authenticated_packet_traversal(struct wg_peer *peer); static inline bool wg_birthdate_has_expired(u64 birthday_nanoseconds, u64 expiration_seconds) |