summaryrefslogtreecommitdiffhomepage
path: root/src/queueing.h
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-10-25 16:37:38 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-10-27 03:11:31 +0200
commita82503f55015e9fcf4fccbedcdb080c7a584c928 (patch)
tree55c16416b4f2b0f854cd6b6332fecec4aa220208 /src/queueing.h
parent31384d62f72c559abc11487195529f0b93be3a72 (diff)
send: consider dropped stage packets to be dropped
Suggested-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/queueing.h')
-rw-r--r--src/queueing.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/queueing.h b/src/queueing.h
index ce522d8..60688bc 100644
--- a/src/queueing.h
+++ b/src/queueing.h
@@ -41,6 +41,7 @@ void wg_packet_send_handshake_cookie(struct wg_device *wg,
struct sk_buff *initiating_skb,
__le32 sender_index);
void wg_packet_send_keepalive(struct wg_peer *peer);
+void wg_packet_purge_staged_packets(struct wg_peer *peer);
void wg_packet_send_staged_packets(struct wg_peer *peer);
/* Workqueue workers: */
void wg_packet_handshake_send_worker(struct work_struct *work);