Re: [PATCH 1/3] rpc: allow selection of TCP address family

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jun 05, 2015 at 09:47:43AM +0100, Daniel P. Berrange wrote:
By default, getaddrinfo() will return addresses for both
IPv4 and IPv6 if both protocols are enabled, and so the
RPC code will listen/connect to both protocols too. There
may be cases where it is desirable to restrict this to
just one of the two protocols, so add an 'int family'
parameter to all the TCP related APIs.

Signed-off-by: Daniel P. Berrange <berrange@xxxxxxxxxx>
---
daemon/libvirtd.c             |  2 ++
src/libxl/libxl_migration.c   |  8 ++++++--
src/qemu/qemu_migration.c     |  4 +++-
src/remote/remote_driver.c    |  3 ++-
src/rpc/virnetclient.c        | 12 +++++++++---
src/rpc/virnetclient.h        |  4 +++-
src/rpc/virnetserverservice.c |  2 ++
src/rpc/virnetserverservice.h |  1 +
src/rpc/virnetsocket.c        |  8 +++++++-
src/rpc/virnetsocket.h        |  3 +++
tests/virnetsockettest.c      |  8 ++++++--
11 files changed, 44 insertions(+), 11 deletions(-)


ACK

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]