summaryrefslogtreecommitdiffstats
path: root/migration/socket.h
Commit message (Collapse)AuthorAgeFilesLines
* migration: unify the framework of socket-type channelLongpeng(Mike)2020-08-281-8/+3Star
| | | | | | | | | | | | | | | Currently, the only difference of tcp channel and unix channel in migration/socket.c is the way to build SocketAddress, but socket_parse() can handle these two types, so use it to instead of tcp_build_address() and unix_build_address(). The socket-type channel can be further unified based on the up, this would be helpful for us to add other socket-type channels. Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com> Message-Id: <20200806074030.174-2-longpeng2@huawei.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com> Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
* migration: Export functions to create send channelsJuan Quintela2018-05-151-0/+7
| | | | | Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
* migration: Export socket.c functions in its own fileJuan Quintela2017-06-011-0/+28
Signed-off-by: Juan Quintela <quintela@redhat.com> Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>