1dns_name6_domain(3) Library Functions Manual dns_name6_domain(3)
2
3
4
6 dns_name6_domain - construct host name for reverse lookup
7
9 #include <dns.h>
10
11 void dns_name6_domain(char q[DNS_NAME6_DOMAIN],
12 const char* ip[16]);
13
15 dns_name6_domain is a low-level component of dns_name6. It converts an
16 IP address such as 4321:0:1:2:3:4:567:89ab into a domain name such as
17 b.a.9.8.7.6.5.0.4.0.0.0.3.0.0.0.2.0.0.0.1.0.0.0.0.0.0.0.1.2.3.4.IP6.ARPA
18 and places the packet-encoded domain name into q.
19
20 q is zero terminated.
21
22 q must have space for DNS_NAME6_DOMAIN bytes.
23
25 dns_name6(3), dns_name4_domain(3)
26
27
28
29 dns_name6_domain(3)