Lines Matching full:compare

29 #include "net/colo-compare.h"
36 #define TYPE_COLO_COMPARE "colo-compare"
383 /* primary packet is longer than secondary packet, compare in colo_mark_tcp_pkt()
494 qemu_hexdump(stderr, "colo-compare ppkt", ppkt->data, ppkt->size); in colo_compare_tcp()
495 qemu_hexdump(stderr, "colo-compare spkt", spkt->data, spkt->size); in colo_compare_tcp()
504 * Called from the compare thread on the primary
505 * for compare udp packet
512 trace_colo_compare_main("compare udp"); in colo_packet_compare_udp()
521 * other field like TOS,TTL,IP Checksum. we only need to compare in colo_packet_compare_udp()
533 qemu_hexdump(stderr, "colo-compare pri pkt", ppkt->data, ppkt->size); in colo_packet_compare_udp()
534 qemu_hexdump(stderr, "colo-compare sec pkt", spkt->data, spkt->size); in colo_packet_compare_udp()
543 * Called from the compare thread on the primary
544 * for compare icmp packet
551 trace_colo_compare_main("compare icmp"); in colo_packet_compare_icmp()
560 * other field like TOS,TTL,IP Checksum. we only need to compare in colo_packet_compare_icmp()
574 qemu_hexdump(stderr, "colo-compare pri pkt", ppkt->data, ppkt->size); in colo_packet_compare_icmp()
575 qemu_hexdump(stderr, "colo-compare sec pkt", spkt->data, spkt->size); in colo_packet_compare_icmp()
584 * Called from the compare thread on the primary
585 * for compare other packet
591 trace_colo_compare_main("compare other"); in colo_packet_compare_other()
684 * primary_list will be empty, so we can't compare it in colo_compare_packet()
698 * Called from the compare thread on the primary
699 * for compare packet with secondary list of the
853 error_report("colo-compare primary_in error"); in compare_pri_chr_in()
870 error_report("colo-compare secondary_in error"); in compare_sec_chr_in()
883 error_report("colo-compare notify_dev error"); in compare_notify_chr()
901 /* Public API, Used for COLO frame to notify compare event */
918 /* Wait all compare threads to finish handling this event */ in colo_notify_compares_event()
1163 /* compare packet in the specified connection */ in compare_pri_rs_finalize()
1176 /* compare packet in the specified connection */ in compare_sec_rs_finalize()
1198 /* colo-compare do checkpoint, flush pri packet and remove sec packet */ in compare_notify_rs_finalize()
1201 error_report("COLO compare got unsupported instruction"); in compare_notify_rs_finalize()
1237 * to setup colo-compare.
1245 error_setg(errp, "colo compare needs 'primary_in' ," in colo_compare_complete()
1252 "for compare module"); in colo_compare_complete()
1445 /* Release all unhandled packets after compare thead exited */ in colo_compare_finalize()