summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorZhang Chen2016-09-27 04:22:28 +0200
committerJason Wang2016-09-27 11:54:21 +0200
commitccf0426c09f0989d9874f7c63aff58376e1d972a (patch)
tree4044b83dc7c2a5ae26cf597ce965110d0f977326 /net
parentnet/colo.c: add colo.c to define and handle packet (diff)
downloadqemu-ccf0426c09f0989d9874f7c63aff58376e1d972a.tar.gz
qemu-ccf0426c09f0989d9874f7c63aff58376e1d972a.tar.xz
qemu-ccf0426c09f0989d9874f7c63aff58376e1d972a.zip
Jhash: add linux kernel jhashtable in qemu
Jhash will be used by colo-compare and filter-rewriter to save and lookup net connection info Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Li Zhijian <lizhijian@cn.fujitsu.com> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
Diffstat (limited to 'net')
-rw-r--r--net/colo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/colo.h b/net/colo.h
index e211eda4c6..05dc0b63cb 100644
--- a/net/colo.h
+++ b/net/colo.h
@@ -16,6 +16,7 @@
#define QEMU_COLO_PROXY_H
#include "slirp/slirp.h"
+#include "qemu/jhash.h"
#define HASHTABLE_MAX_SIZE 16384