Lines Matching refs:sent_cb
452 if (ret == 0 && packet->sent_cb != NULL) { in qemu_flush_queued_packets()
458 if (packet->sent_cb) in qemu_flush_queued_packets()
459 packet->sent_cb(packet->sender); in qemu_flush_queued_packets()
467 NetPacketSent *sent_cb) in qemu_enqueue_packet() argument
475 packet->sent_cb = sent_cb; in qemu_enqueue_packet()
482 NetPacketSent *sent_cb) in qemu_send_packet_async() argument
501 if (ret == 0 && sent_cb != NULL) { in qemu_send_packet_async()
502 qemu_enqueue_packet(sender, buf, size, sent_cb); in qemu_send_packet_async()
580 NetPacketSent *sent_cb) in qemu_enqueue_packet_iov() argument
591 packet->sent_cb = sent_cb; in qemu_enqueue_packet_iov()
608 NetPacketSent *sent_cb) in qemu_sendv_packet_async() argument
621 if (ret == 0 && sent_cb != NULL) { in qemu_sendv_packet_async()
622 qemu_enqueue_packet_iov(sender, iov, iovcnt, sent_cb); in qemu_sendv_packet_async()