 646c5478c0
			
		
	
	
		646c5478c0
		
	
	
	
	
		
			
			This patch adds support of recording and replaying network packets in irount rr mode. Record and replay for network interactions is performed with the network filter. Each backend must have its own instance of the replay filter as follows: -netdev user,id=net1 -device rtl8139,netdev=net1 -object filter-replay,id=replay,netdev=net1 Replay network filter is used to record and replay network packets. While recording the virtual machine this filter puts all packets coming from the outer world into the log. In replay mode packets from the log are injected into the network device. All interactions with network backend in replay mode are disabled. v5 changes: - using iov_to_buf function instead of loop Signed-off-by: Pavel Dovgalyuk <pavel.dovgaluk@ispras.ru> Signed-off-by: Jason Wang <jasowang@redhat.com>
		
			
				
	
	
		
			23 lines
		
	
	
		
			781 B
		
	
	
	
		
			Makefile
		
	
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			781 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
 | |
| common-obj-y += colo-compare.o
 | |
| common-obj-y += colo.o
 | |
| common-obj-y += filter-rewriter.o
 | |
| common-obj-y += filter-replay.o
 |