summaryrefslogtreecommitdiffstats
path: root/src/plugins/wireguard/wireguard_timer.h
diff options
context:
space:
mode:
authorArtem Glazychev <artem.glazychev@xored.com>2020-09-14 11:36:01 +0700
committerDave Wallace <dwallacelf@gmail.com>2020-09-24 18:54:26 +0000
commit48d81b58dfc1b4c93a44e07ed61cbe73458623a2 (patch)
tree95a940c749902a0eb91a371bb81e6fddbbe0cba2 /src/plugins/wireguard/wireguard_timer.h
parentc359dfa1869d888d934fd0fd362ece21f9ffc26c (diff)
wireguard: add handoff node
All timer and control plane functions happen from main thread Type: fix Change-Id: I4fc333c644485cd17e6f426493feef91688d9b24 Signed-off-by: Artem Glazychev <artem.glazychev@xored.com> (cherry picked from commit 8eb69407c8075e101b773d5a27ea21bd3fc906d7)
Diffstat (limited to 'src/plugins/wireguard/wireguard_timer.h')
-rwxr-xr-xsrc/plugins/wireguard/wireguard_timer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/wireguard/wireguard_timer.h b/src/plugins/wireguard/wireguard_timer.h
index 457dce28674..2cc5dd01284 100755
--- a/src/plugins/wireguard/wireguard_timer.h
+++ b/src/plugins/wireguard/wireguard_timer.h
@@ -38,7 +38,7 @@ typedef enum _wg_timers
typedef struct wg_peer wg_peer_t;
-void wg_timers_init (wg_peer_t * peer, f64 now);
+void wg_timer_wheel_init ();
void wg_timers_stop (wg_peer_t * peer);
void wg_timers_data_sent (wg_peer_t * peer);
void wg_timers_data_received (wg_peer_t * peer);