Re: [libvirt] [PATCH] 1/3 Add IPv4 and IPv6 parsing routines

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

 



On Tue, Oct 13, 2009 at 04:12:47PM +0200, Daniel Veillard wrote:
> +/*
> + * virParseIPv6:
> + * @addr: pointer to the address string in classic hex and column format
> + *        and zero terminated
> + * @res: optional pointer to the place to store the result
> + *
> + * Parse the IPv6 address in classic dot-decimal notation format like
> + * 2001:db8:85a3:0:0:8a2e:370:7334, and store the output if res is provided:
> + * for example res[0] = 0x2001, res[1] = 0xdb8, etc.
> + * TODO: doesn't support the :: compression notation yet

  Oops old comment, actually it does !

> + * Retuns 0 in case of success and -1 in case of error
> + */

Daniel

-- 
Daniel Veillard      | libxml Gnome XML XSLT toolkit  http://xmlsoft.org/
daniel@xxxxxxxxxxxx  | Rpmfind RPM search engine http://rpmfind.net/
http://veillard.com/ | virtualization library  http://libvirt.org/

--
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]