---
name: "firedns_aton6"
section: "3"
platform: "linux"
package: "libfiredns-dev"
version: "0.9.12+dfsg-1"
release: "Debian 4.0 (Etch)"
platforms: ["linux"]
url: "https://new.carta.tech/firedns_aton6"
---

# firedns\_aton6(3)

convert a colon seperated IPv6 address to binary format

## NAME

firedns\_aton6 - convert a colon seperated IPv6 address to binary format

## SYNOPSIS

**#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***)**

## DESCRIPTION

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.

## AUTHOR

Ian Gulliver \<ian@penguinhosting.net\>

## SEE ALSO

[**libfiredns**(3)](/libfiredns/3.md)
