[libvirt] [PATCH 2/3] rpc: add API for checking IPv4/6 availability

Martin Kletzander mkletzan at redhat.com
Mon Jun 8 13:30:25 UTC 2015


On Fri, Jun 05, 2015 at 09:47:44AM +0100, Daniel P. Berrange wrote:
>The socket test suite has a function for checking if IPv4
>or IPv6 are available, and returning a free socket. The
>first bit of that will be needed in another test, so pull
>that logic out into a separate helper method.
>
>Signed-off-by: Daniel P. Berrange <berrange at redhat.com>
>---
> src/libvirt_remote.syms  |  1 +
> src/rpc/virnetsocket.c   | 66 ++++++++++++++++++++++++++++++++++++++++++++++++
> src/rpc/virnetsocket.h   |  3 +++
> tests/virnetsockettest.c | 36 ++------------------------
> 4 files changed, 72 insertions(+), 34 deletions(-)
>

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150608/9ad63ea0/attachment-0001.sig>


More information about the libvir-list mailing list