firedns_aton6(3)

firedns_aton63

Convert a colon seperated ipv6 address to binary format

Usage

#include <firedns.h>
-lfiredns

struct in6_addr *firedns_aton6(const char * const ipstring)
struct in6_addr *firedns_aton6_r(const char * const ipstring)
struct in6_addr *firedns_aton6_s(const char * const ipstring, struct in6_addr *ip)

Overview

firedns_aton6() takes an IPv6 address in colon seperated notation in ipstring and returns a struct in6_addr containing the address in binary format.

Return value

Returns a struct in6_addr containing the IP address in binary form, or NULL if ipstring is not a valid IP.

Releases

Unchanged in 2 releases since Debian 3.1 (Sarge).

  1. 3.1–4.0

Author

Ian Gulliver <[email protected]>

From libfiredns-dev 0.9.12+dfsg-1 in Debian 4.0 (Etch). Parsed by carta from the page's man source.