ip6addr_aton() function
Check whether "cp" is a valid ascii representation of an IPv6 address and convert to a binary address. Returns 1 if the address is valid, 0 if not.
Arguments
cp
IPv6 address in ascii representation (e.g. "FF01::1")
addr
pointer to which to save the ip address in network order
Return value
1 if cp could be converted to addr, 0 on failure
Examples
ip6addr_aton() is referenced by 8 libraries and example projects: