aboutgitcodebugslistschat
path: root/tcp_internal.h
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2023-11-14 16:18:01 +0100
committerLaurent Vivier <lvivier@redhat.com>2024-03-12 13:58:27 +0100
commit2d5528c9be58cccdcff47dc16ab4715cddcbedf8 (patch)
tree69fa1cd469506f730fc1c864ad863f14aa0717f8 /tcp_internal.h
parent1bf4abe4021192a4bcd5d400b699552f2a6d5777 (diff)
downloadpasst-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.tar
passt-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.tar.gz
passt-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.tar.bz2
passt-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.tar.lz
passt-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.tar.xz
passt-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.tar.zst
passt-2d5528c9be58cccdcff47dc16ab4715cddcbedf8.zip
tcp: vhost-user RX nocopy
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Diffstat (limited to 'tcp_internal.h')
-rw-r--r--tcp_internal.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tcp_internal.h b/tcp_internal.h
index 0f3db1f..1b5dbed 100644
--- a/tcp_internal.h
+++ b/tcp_internal.h
@@ -35,6 +35,8 @@
#define CONN_V4(conn) (!!inany_v4(&(conn)->faddr))
#define CONN_V6(conn) (!CONN_V4(conn))
+extern char tcp_buf_discard[MAX_WINDOW];
+
void conn_flag_do(const struct ctx *c, struct tcp_tap_conn *conn,
unsigned long flag);
#define conn_flag(c, conn, flag) \