aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2022-11-08 21:16:46 +0100
committerLaurent Vivier <lvivier@redhat.com>2024-03-12 11:54:26 +0100
commitb2229bd24ffc75b2538073958221e1ae82ac0767 (patch)
treebcdcf77747067d557f021476fda1f665ce9513a5 /tap.c
parent45b1403f42b70927ac859cee7c7413d5a596a671 (diff)
downloadpasst-b2229bd24ffc75b2538073958221e1ae82ac0767.tar
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.gz
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.bz2
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.lz
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.xz
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.tar.zst
passt-b2229bd24ffc75b2538073958221e1ae82ac0767.zip
vhost-user: introduce vhost-user API
Add vhost_user.c and vhost_user.h that define the functions needed to implement vhost-user backend. Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'tap.c')
-rw-r--r--tap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tap.c b/tap.c
index 65445cb..d7d1c3e 100644
--- a/tap.c
+++ b/tap.c
@@ -1054,7 +1054,7 @@ void packet_add_all_do(struct ctx *c, ssize_t len, char *p,
* tap_sock_reset() - Handle closing or failure of connect AF_UNIX socket
* @c: Execution context
*/
-static void tap_sock_reset(struct ctx *c)
+void tap_sock_reset(struct ctx *c)
{
if (c->one_off) {
info("Client closed connection, exiting");