Lines Matching full:packet
74 * |packet | |packet + |packet | |packet +
79 * |packet | |packet + |packet | |packet +
84 * |packet | |packet + |packet | |packet +
196 static gint seq_sorter(Packet *a, Packet *b, gpointer data) in seq_sorter()
203 Packet *pkt = data; in fill_pkt_tcp_info()
221 * packet will be dropped
223 static int colo_insert_packet(GQueue *queue, Packet *pkt, uint32_t *max_ack) in colo_insert_packet()
247 Packet *pkt = NULL; in packet_enqueue()
285 "queue size too big, drop packet"); in packet_enqueue()
300 static void colo_release_primary_pkt(CompareState *s, Packet *pkt) in colo_release_primary_pkt()
310 error_report("colo send primary packet failed"); in colo_release_primary_pkt()
312 trace_colo_compare_main("packet same and release packet"); in colo_release_primary_pkt()
320 * return: 0 means packet same
321 * > 0 || < 0 means packet different
323 static int colo_compare_packet_payload(Packet *ppkt, in colo_compare_packet_payload()
324 Packet *spkt, in colo_compare_packet_payload()
351 static bool colo_mark_tcp_pkt(Packet *ppkt, Packet *spkt, in colo_mark_tcp_pkt()
365 /* one part of secondary packet payload still need to be compared */ in colo_mark_tcp_pkt()
377 * out this packet in colo_mark_tcp_pkt()
383 /* primary packet is longer than secondary packet, compare in colo_mark_tcp_pkt()
384 * the same part and mark the primary packet offset in colo_mark_tcp_pkt()
401 Packet *ppkt = NULL, *spkt = NULL; in colo_compare_tcp()
412 * can ensure that the packet's payload is acknowledged by in colo_compare_tcp()
435 trace_colo_compare_main("pri: this packet has compared"); in colo_compare_tcp()
449 trace_colo_compare_main("sec: this packet has compared"); in colo_compare_tcp()
505 * for compare udp packet
507 static int colo_packet_compare_udp(Packet *spkt, Packet *ppkt) in colo_packet_compare_udp()
519 * COLO just concern the response net packet payload from primary guest in colo_packet_compare_udp()
544 * for compare icmp packet
546 static int colo_packet_compare_icmp(Packet *spkt, Packet *ppkt) in colo_packet_compare_icmp()
558 * COLO just concern the response net packet payload from primary guest in colo_packet_compare_icmp()
585 * for compare other packet
587 static int colo_packet_compare_other(Packet *spkt, Packet *ppkt) in colo_packet_compare_other()
600 static int colo_old_packet_check_one(Packet *pkt, int64_t *check_time) in colo_old_packet_check_one()
642 /* Do checkpoint will flush old packet */ in colo_old_packet_check_one_conn()
657 * If we find one old packet, stop finding job and notify in colo_old_packet_check()
665 int (*HandlePacket)(Packet *spkt, in colo_compare_packet()
666 Packet *ppkt)) in colo_compare_packet()
668 Packet *pkt = NULL; in colo_compare_packet()
683 * If one packet arrive late, the secondary_list or in colo_compare_packet()
688 trace_colo_compare_main("packet different"); in colo_compare_packet()
699 * for compare packet with secondary list of the
700 * specified connection when a new packet was
745 * know how to parse net packet correctly. in _compare_chr_send()
888 * Check old packet regularly so it can watch for any packets
895 /* if have old packet we will notify checkpoint */ in check_old_packet_regular()
1155 trace_colo_compare_main("primary: unsupported packet in"); in compare_pri_rs_finalize()
1163 /* compare packet in the specified connection */ in compare_pri_rs_finalize()
1174 trace_colo_compare_main("secondary: unsupported packet in"); in compare_sec_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()
1337 Packet *pkt = NULL; in colo_flush_packets()