summaryrefslogtreecommitdiffhomepage
path: root/src/timers.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2017-09-22 03:51:39 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2017-09-24 23:10:15 +0200
commit18e49c76cfe5efe9c10a5ed2f59f694c98c30390 (patch)
treebc5813d1f9d3d16853b5491980ce960737ba747f /src/timers.h
parent7895086b4f2497cb8a2e75d24d4a40b6d0b018b5 (diff)
timers: convert to use netif_running
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/timers.h')
-rw-r--r--src/timers.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/timers.h b/src/timers.h
index 4bfc00e..f9b2144 100644
--- a/src/timers.h
+++ b/src/timers.h
@@ -5,9 +5,8 @@
struct wireguard_peer;
-void timers_init_peer(struct wireguard_peer *peer);
-void timers_uninit_peer(struct wireguard_peer *peer);
-
+void timers_init(struct wireguard_peer *peer);
+void timers_stop(struct wireguard_peer *peer);
void timers_data_sent(struct wireguard_peer *peer);
void timers_data_received(struct wireguard_peer *peer);
void timers_any_authenticated_packet_received(struct wireguard_peer *peer);