Searched refs:inet_pton (Results 1 - 25 of 43) sorted by relevance

12

/bind-9.11.3/bin/tools/
H A Darpaname.c28 if (inet_pton(AF_INET6, argv[1], buf) == 1) {
36 if (inet_pton(AF_INET, argv[1], buf) == 1) {
H A Dmdig.c919 if (inet_pton(AF_INET6, buf, &in6) == 1) {
924 } else if (inet_pton(AF_INET, buf, &in4) == 1) {
934 if (inet_pton(AF_INET, buf, &in4) == 1) {
993 r = inet_pton(AF_INET6, value, &addr.type.in6);
1617 if (have_ipv6 && inet_pton(AF_INET6, value, &in6) == 1) {
1620 } else if (have_ipv4 && inet_pton(AF_INET, value, &in4) == 1) {
/bind-9.11.3/bin/tests/sockaddr/
H A Dt_sockaddr.c28 if (inet_pton(AF_INET, "194.100.32.87", &ina_a) < 0)
30 if (inet_pton(AF_INET, "194.100.32.80", &ina_b) < 0)
32 if (inet_pton(AF_INET, "194.101.32.87", &ina_c) < 0)
77 if (inet_pton(AF_INET, "0.0.0.0", &na_a) < 0)
79 if (inet_pton(AF_INET, "255.255.255.254", &na_b) < 0)
81 if (inet_pton(AF_INET, "255.255.255.255", &na_c) < 0)
83 if (inet_pton(AF_INET, "255.255.255.0", &na_d) < 0)
/bind-9.11.3/lib/isc/tests/
H A Dinet_ntop_test.c46 r = inet_pton(testdata[i].family, testdata[i].address, abuf);
H A Dsockaddr_test.c51 ret = inet_pton(AF_INET6, "::ffff:127.0.0.1", &in6);
112 ret = inet_pton(AF_INET6, data6[i].string, &in6);
/bind-9.11.3/bin/tests/
H A Dgxba_test.c66 if (inet_pton(AF_INET, argv[1], &in_addr) == 1) {
70 } else if (inet_pton(AF_INET6, argv[1], &in6_addr) == 1) {
H A Dbyaddr_test.c214 if (inet_pton(AF_INET, argv[isc_commandline_index],
217 if (inet_pton(AF_INET6, argv[isc_commandline_index],
H A Dlwres_test.c198 ret = inet_pton(AF_INET, target, addrbuf);
202 ret = inet_pton(AF_INET6, target, addrbuf);
H A Dzone_test.c256 if (inet_pton(AF_INET, isc_commandline_argument,
/bind-9.11.3/bin/tests/net/
H A Dnetaddr_multicast.c53 r = inet_pton(AF_INET, addr->addr, (unsigned char *)&in);
59 r = inet_pton(AF_INET6, addr->addr, (unsigned char *)&in6);
/bind-9.11.3/bin/tests/system/lwresd/
H A Dlwtest.c147 ret = inet_pton(AF_INET, address, addrbuf);
151 ret = inet_pton(AF_INET6, address, addrbuf);
195 ret = inet_pton(AF_INET, target, addrbuf);
199 ret = inet_pton(AF_INET6, target, addrbuf);
244 ret = inet_pton(AF_INET, address, addrbuf);
284 ret = inet_pton(af, address, addrbuf);
341 ret = inet_pton(af, address, addrbuf);
376 ret = inet_pton(af, address, addrbuf);
416 ret = inet_pton(af, address, addrbuf);
486 ret = inet_pton(a
[all...]
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/
H A Dnet.c110 } else if (inet_pton(AF_INET, name, &in4a) == 1) {
112 } else if (inet_pton(AF_INET6, name, &in6a) == 1) {
/bind-9.11.3/lib/bind9/
H A Dgetaddresses.c72 if (inet_pton(AF_INET, hostname, &in4) == 1) {
88 if (inet_pton(AF_INET6, tmpbuf, &in6) == 1) {
/bind-9.11.3/bin/confgen/
H A Drndc-confgen.c193 if (inet_pton(AF_INET, serveraddr, &addr4_dummy) != 1 &&
194 inet_pton(AF_INET6, serveraddr, &addr6_dummy) != 1)
/bind-9.11.3/bin/named/
H A Dfuzz.c72 RUNTIME_CHECK(inet_pton(AF_INET, host, &servaddr.sin_addr) == 1);
173 RUNTIME_CHECK(inet_pton(AF_INET, shost, &servaddr.sin_addr) == 1);
178 RUNTIME_CHECK(inet_pton(AF_INET, rhost, &recaddr.sin_addr) == 1);
343 RUNTIME_CHECK(inet_pton(AF_INET, host, &servaddr.sin_addr) == 1);
/bind-9.11.3/lib/isc/unix/include/isc/
H A Dnet.h38 * It declares inet_aton(), inet_ntop(), and inet_pton().
402 #undef inet_pton macro
403 #define inet_pton isc_net_pton macro
/bind-9.11.3/lib/isc/win32/include/isc/
H A Dnet.h44 * It declares inet_aton(), inet_ntop(), and inet_pton().
417 #define inet_pton isc_net_pton macro
/bind-9.11.3/bin/tests/system/pipelined/
H A Dpipequeries.c226 if (inet_pton(AF_INET, "10.53.0.7", &inaddr) != 1)
227 CHECK("inet_pton", result);
231 if (inet_pton(AF_INET, "10.53.0.4", &inaddr) != 1)
232 CHECK("inet_pton", result);
/bind-9.11.3/lib/dns/tests/
H A Dgeoip_test.c140 inet_pton(AF_INET, addr, &in4);
157 inet_pton(AF_INET6, addr, &in6);
174 inet_pton(AF_INET, addr, &in4);
/bind-9.11.3/bin/delv/
H A Ddelv.c789 if (inet_pton(AF_INET, server, &in4) == 1) {
799 } else if (inet_pton(AF_INET6, server, &in6) == 1) {
1268 if (inet_pton(AF_INET, value, &in4) == 1) {
1274 } else if (inet_pton(AF_INET6, value, &in6) == 1) {
1531 r = inet_pton(AF_INET6, value, &addr.type.in6);
1556 if (strict && inet_pton(AF_INET, value, &addr.type.in) != 1)
/bind-9.11.3/lib/dns/rdata/in_1/
H A Dapl_42.c60 n = inet_pton(AF_INET, ap, addr);
73 n = inet_pton(AF_INET6, ap, addr);
H A Daaaa_28.c40 if (inet_pton(AF_INET6, DNS_AS_STR(token), addr) != 1)
/bind-9.11.3/lib/samples/
H A Dresolve.c282 if (inet_pton(AF_INET,
292 } else if (inet_pton(AF_INET6,
/bind-9.11.3/bin/tests/system/tkey/
H A Dkeydelete.c116 if (inet_pton(AF_INET, "10.53.0.1", &inaddr) != 1)
117 CHECK("inet_pton", result);
/bind-9.11.3/lib/dns/rdata/generic/
H A Dmx_15.c36 inet_pton(AF_INET6, tmp, &addr6) == 1)

Completed in 277 milliseconds

12