mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-11 16:00:50 -07:00
colo-compare: add TCP, UDP, ICMP packet comparison
We add TCP,UDP,ICMP packet comparison to replace IP packet comparison. This can increase the accuracy of the package comparison. Less checkpoint more efficiency. 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>
This commit is contained in:
parent
0682e15b19
commit
f4b618360e
2 changed files with 146 additions and 4 deletions
|
|
@ -144,8 +144,11 @@ colo_proxy_main(const char *chr) ": %s"
|
|||
|
||||
# net/colo-compare.c
|
||||
colo_compare_main(const char *chr) ": %s"
|
||||
colo_compare_udp_miscompare(const char *sta, int size) ": %s = %d"
|
||||
colo_compare_icmp_miscompare(const char *sta, int size) ": %s = %d"
|
||||
colo_compare_ip_info(int psize, const char *sta, const char *stb, int ssize, const char *stc, const char *std) "ppkt size = %d, ip_src = %s, ip_dst = %s, spkt size = %d, ip_src = %s, ip_dst = %s"
|
||||
colo_old_packet_check_found(int64_t old_time) "%" PRId64
|
||||
colo_compare_miscompare(void) ""
|
||||
|
||||
### Guest events, keep at bottom
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue