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 | 06b12364716b4f7b8f561877b90dc43619f30874 (patch) | |
tree | 8f5f5e066d82993134bf47490c6f820a67164410 /src/timers.h | |
parent | netlink: do not stuff index into nla type (diff) | |
download | wireguard-monolithic-historical-06b12364716b4f7b8f561877b90dc43619f30874.tar.xz wireguard-monolithic-historical-06b12364716b4f7b8f561877b90dc43619f30874.zip |
global: rename struct wireguard_ to struct wg_
This required a bit of pruning of our christmas trees.
Suggested-by: Jiri Pirko <jiri@resnulli.us>
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) |