Lines Matching refs:sent_cb
485 if (ret == 0 && packet->sent_cb != NULL) { in qemu_flush_queued_packets()
491 if (packet->sent_cb) in qemu_flush_queued_packets()
492 packet->sent_cb(packet->sender); in qemu_flush_queued_packets()
500 NetPacketSent *sent_cb) in qemu_enqueue_packet() argument
508 packet->sent_cb = sent_cb; in qemu_enqueue_packet()
515 NetPacketSent *sent_cb) in qemu_send_packet_async() argument
534 if (ret == 0 && sent_cb != NULL) { in qemu_send_packet_async()
535 qemu_enqueue_packet(sender, buf, size, sent_cb); in qemu_send_packet_async()
613 NetPacketSent *sent_cb) in qemu_enqueue_packet_iov() argument
624 packet->sent_cb = sent_cb; in qemu_enqueue_packet_iov()
641 NetPacketSent *sent_cb) in qemu_sendv_packet_async() argument
654 if (ret == 0 && sent_cb != NULL) { in qemu_sendv_packet_async()
655 qemu_enqueue_packet_iov(sender, iov, iovcnt, sent_cb); in qemu_sendv_packet_async()