mirror of
https://github.com/xemu-project/xemu.git
synced 2024-11-24 12:09:58 +00:00
f6d3afb51f
Filter-mirror is a netfilter plugin. It gives qemu the ability to mirror packets to a chardev. usage: -netdev tap,id=hn0 -chardev socket,id=mirror0,host=ip_primary,port=X,server,nowait -filter-mirror,id=m0,netdev=hn0,queue=tx/rx/all,outdev=mirror0 Signed-off-by: Zhang Chen <zhangchen.fnst@cn.fujitsu.com> Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Reviewed-by: Yang Hongyang <hongyang.yang@easystack.cn> Reviewed-by: zhanghailiang <zhang.zhanghailiang@huawei.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
19 lines
661 B
Makefile
19 lines
661 B
Makefile
common-obj-y = net.o queue.o checksum.o util.o hub.o
|
|
common-obj-y += socket.o
|
|
common-obj-y += dump.o
|
|
common-obj-y += eth.o
|
|
common-obj-$(CONFIG_L2TPV3) += l2tpv3.o
|
|
common-obj-$(CONFIG_POSIX) += tap.o vhost-user.o
|
|
common-obj-$(CONFIG_LINUX) += tap-linux.o
|
|
common-obj-$(CONFIG_WIN32) += tap-win32.o
|
|
common-obj-$(CONFIG_BSD) += tap-bsd.o
|
|
common-obj-$(CONFIG_SOLARIS) += tap-solaris.o
|
|
common-obj-$(CONFIG_AIX) += tap-aix.o
|
|
common-obj-$(CONFIG_HAIKU) += tap-haiku.o
|
|
common-obj-$(CONFIG_SLIRP) += slirp.o
|
|
common-obj-$(CONFIG_VDE) += vde.o
|
|
common-obj-$(CONFIG_NETMAP) += netmap.o
|
|
common-obj-y += filter.o
|
|
common-obj-y += filter-buffer.o
|
|
common-obj-y += filter-mirror.o
|