Re: [libvirt] [PATCH v2 4/5] util: Introduce virSocketAddrPTRDomain

2016-12-14 Thread Laine Stump
On 12/13/2016 08:52 AM, Jiri Denemark wrote: The API creates PTR domain which corresponds to a given addr/prefix. Both IPv4 and IPv6 addresses are supported, but the prefix must be divisible by 8 for IPv4 and divisible by 4 for IPv6. The generated PTR domain has the following format IPv4:

[libvirt] [PATCH v2 4/5] util: Introduce virSocketAddrPTRDomain

2016-12-13 Thread Jiri Denemark
The API creates PTR domain which corresponds to a given addr/prefix. Both IPv4 and IPv6 addresses are supported, but the prefix must be divisible by 8 for IPv4 and divisible by 4 for IPv6. The generated PTR domain has the following format IPv4: 1.2.3.4.in-addr.arpa IPv6: