diff options
author | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-14 19:11:47 +0200 |
---|---|---|
committer | Mikael Magnusson <mikma@users.sourceforge.net> | 2020-05-14 19:11:47 +0200 |
commit | 3bc3f3786f481f449437a012d68be962e10c78b6 (patch) | |
tree | 0a0998c80c612a75b8b4f8559ec5d664226ac917 | |
parent | 2498967320540cc864fd1bd90581fbe542ef21bb (diff) |
WIP fast_rx
-rw-r--r-- | sysdep/unix/wg_user.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/wg_user.c b/sysdep/unix/wg_user.c index 4f1b3d6c..4f0dba24 100644 --- a/sysdep/unix/wg_user.c +++ b/sysdep/unix/wg_user.c @@ -258,6 +258,7 @@ wg_user_set_device(struct pool *pool, sock->rx_hook = user_rx_hook; sock->tx_hook = user_tx_hook; sock->err_hook = user_err_hook; + sock->fast_rx = 1; uint tbsize = 8192; sk_set_tbsize(sock, tbsize); |