commit | 625a526b3298ce593983923b4d10fa582555f26d | [log] [tgz] |
---|---|---|
author | Marc-André Lureau <marcandre.lureau@redhat.com> | Thu Jan 17 15:43:54 2019 +0400 |
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | Thu Feb 07 15:49:08 2019 +0200 |
tree | 23a61e6bd768759314f416b5674e776d5c1868c5 | |
parent | d7df0b41dc38327388c3f19fdf4246793d4a1e4b [diff] |
slirp: improve send_packet() callback Use a more descriptive name for the callback. Reuse the SlirpWriteCb type. Wrap it to check that all data has been written. Return a ssize_t for potential error handling and data-loss reporting. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>