summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorZhang Chen <zhangchen.fnst@cn.fujitsu.com>2016-09-27 10:22:28 +0800
committerJason Wang <jasowang@redhat.com>2016-09-27 17:54:21 +0800
commitccf0426c09f0989d9874f7c63aff58376e1d972a (patch)
tree4044b83dc7c2a5ae26cf597ce965110d0f977326 /net
parent59509ec16b7ee92b3f8261c554023aa1d3169317 (diff)
downloadqemu-ccf0426c09f0989d9874f7c63aff58376e1d972a.tar.gz
qemu-ccf0426c09f0989d9874f7c63aff58376e1d972a.tar.bz2
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