summaryrefslogtreecommitdiffstats
path: root/src/mpq.h
diff options
context:
space:
mode:
authorMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-27 21:02:37 +0100
committerMatt Dunwoodie <ncon@mail.noconroy.net>2019-09-27 21:02:37 +0100
commit4d1341e480a1726df9815696b7cfe81fe1bed5b4 (patch)
tree65baa7a0001dce345570186f9bf98f47df026584 /src/mpq.h
parentAttempt to start the interface if the queue is full (diff)
downloadwireguard-openbsd-4d1341e480a1726df9815696b7cfe81fe1bed5b4.tar.xz
wireguard-openbsd-4d1341e480a1726df9815696b7cfe81fe1bed5b4.zip
Adjust queueing process
Diffstat (limited to 'src/mpq.h')
-rw-r--r--src/mpq.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mpq.h b/src/mpq.h
index eda5cfa0954..b818f6b7ca7 100644
--- a/src/mpq.h
+++ b/src/mpq.h
@@ -29,6 +29,7 @@ struct mpq {
};
void mpq_init(struct mpq *, int);
+int mpq_full(struct mpq *);
int mpq_serialize_try_enter(struct mpq *);
void mpq_serialize_leave(struct mpq *);
int mpq_enqueue(struct mpq *, struct mbuf *);