/bind-9.6-ESV-R11/bin/tests/ |
H A D | gxba_test.c | 68 int af; local 75 af = AF_INET; 79 af = AF_INET6; 88 he = gethostbyaddr(addr, len, af); 91 he = getipnodebyaddr(addr, len, af, &error);
|
H A D | lwres_test.c | 197 test_gnba(const char *target, lwres_uint32_t af) { argument 204 if (af == LWRES_ADDRTYPE_V4) { 215 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res);
|
/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | interfaceiter.h | 53 unsigned int af; /*%< Address family. */ member in struct:isc_interface
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | netscope.c | 33 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument 43 if (af != AF_INET6)
|
H A D | inet_ntop.c | 51 * isc_net_ntop(af, src, dst, size) 59 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument 61 switch (af) {
|
H A D | inet_pton.c | 58 isc_net_pton(int af, const char *src, void *dst) { argument 59 switch (af) {
|
/bind-9.6-ESV-R11/lib/lwres/ |
H A D | lwinetntop.c | 51 * lwres_net_ntop(af, src, dst, size) 59 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument 60 switch (af) {
|
H A D | lwinetpton.c | 46 * lwres_net_pton(af, src, dst) 57 lwres_net_pton(int af, const char *src, void *dst) { argument 58 switch (af) {
|
H A D | gethost.c | 70 * lwres_gethostbyname2() looks for an address of protocol family af: 182 lwres_gethostbyname2(const char *name, int af) { argument 186 he = lwres_getipnodebyname(name, af, 0, &lwres_h_errno);
|
H A D | lwconfig.c | 113 int af = 0; local 117 af = AF_INET; 121 af = AF_INET6; 125 return (af); 631 int af; local 643 af = lwresaddr2af(confdata->nameservers[i].family); 645 p = lwres_net_ntop(af, confdata->nameservers[i].address, 654 af = lwresaddr2af(confdata->lwservers[i].family); 656 p = lwres_net_ntop(af, confdata->lwservers[i].address, 680 af [all...] |
H A D | getipnode.c | 58 * lwres_getipnodebyname() looks up addresses of protocol family af for 64 * This is used with an af of #AF_INET6, and causes IPv4 addresses 68 * This is used with an af of #AF_INET6, and causes all known 83 * is len bytes long. af denotes the protocol family, typically PF_INET 177 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src); 180 hostfromname(lwres_gabnresponse_t *name, int af); 199 lwres_getipnodebyname(const char *name, int af, int flags, int *error_num) { argument 226 if ((af == AF_INET6 && (flags & AI_V4MAPPED) == 0 && v4 == 1) || 227 (af == AF_INET && v6 == 1) || 230 (have_v4 == 0 && af 334 lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num) argument 844 copyandmerge(struct hostent *he1, struct hostent *he2, int af, int *error_num) argument 1010 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src) argument 1086 hostfromname(lwres_gabnresponse_t *name, int af) argument [all...] |
/bind-9.6-ESV-R11/contrib/zkt/ |
H A D | tcap.c | 69 char *af = ""; /* AF */ /* ansi foreground */ local 86 af = ""; 146 if ( (af = tgetstr ("AF", &ap)) ) /* set ansi color foreground */ 149 snprintf (colortab[i], sizeof colortab[0], "%s", tparm (af, i)); 151 else if ( (af = tgetstr ("Sf", &ap)) ) /* or set color foreground */ 153 snprintf (colortab[TC_BLACK], sizeof colortab[0], "%s", tparm (af, 0)); 154 snprintf (colortab[TC_BLUE], sizeof colortab[0], "%s", tparm (af, 1)); 155 snprintf (colortab[TC_GREEN], sizeof colortab[0], "%s", tparm (af, 2)); 156 snprintf (colortab[TC_CYAN], sizeof colortab[0], "%s", tparm (af, 3)); 157 snprintf (colortab[TC_RED], sizeof colortab[0], "%s", tparm (af, [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | portlist.c | 138 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) { argument 143 REQUIRE(af == AF_INET || af == AF_INET6); 149 if (af == AF_INET) 176 if (af == AF_INET) 189 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) { argument 193 REQUIRE(af == AF_INET || af == AF_INET6); 199 if (af == AF_INET) 215 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_ argument [all...] |
H A D | rdata.c | 144 inet_totext(int af, isc_region_t *src, isc_buffer_t *target); 1455 inet_totext(int af, isc_region_t *src, isc_buffer_t *target) { argument 1459 if (inet_ntop(af, src->base, tmpbuf, sizeof(tmpbuf)) == NULL)
|
/bind-9.6-ESV-R11/lib/isc/win32/ |
H A D | net.c | 292 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high) { argument 297 UNUSED(af);
|
/bind-9.6-ESV-R11/bin/named/ |
H A D | lwdgabn.c | 74 int af; local 79 af = AF_INET; 81 af = AF_INET6; 86 if (sa->sa_family != af)
|
H A D | server.c | 609 int af, dns_dispatch_t **dispatchp, 619 switch (af) { 633 INSIST(isc_sockaddr_pf(&sa) == af); 638 switch (af) { 656 switch (af) { 693 switch (af) { 608 get_view_querysource_dispatch(const cfg_obj_t **maps, int af, dns_dispatch_t **dispatchp, isc_boolean_t is_firstview) argument
|
/bind-9.6-ESV-R11/bin/tests/system/lwresd/ |
H A D | lwtest.c | 131 lwres_uint32_t af) 152 if (af == LWRES_ADDRTYPE_V4) { 168 if (addr->family != af || addr->length != len || 192 test_gnba(const char *target, lwres_uint32_t af, lwres_result_t expected, argument 200 if (af == LWRES_ADDRTYPE_V4) { 211 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res); 266 test_gethostbyname2(const char *name, const char *address, int af) { argument 271 hp = gethostbyname2(name, af); 287 if (af == AF_INET) 291 ret = inet_pton(af, addres 130 test_gabn(const char *target, lwres_result_t expected, const char *address, lwres_uint32_t af) argument 314 test_getipnodebyname(const char *name, const char *address, int af, int v4map, int all) argument 374 test_gethostbyaddr(const char *address, int af, const char *name) argument 413 test_getipnodebyaddr(const char *address, int af, const char *name) argument 455 test_getaddrinfo(const char *name, int af, int v4ok, int v6ok, const char *address) argument 545 test_getnameinfo(const char *address, int af, const char *name) argument [all...] |
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.c | 183 idn_stub_gethostbyname2(const char *name, int af) { argument 184 static struct hostent *(*fp)(const char *name, int af); 189 return ((*fp)(name, af)); 230 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result, argument 234 static int (*fp)(const char *name, int af, struct hostent *result, 241 return ((*fp)(name, af, result, buffer, buflen, rp, errp)); 305 idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp) { argument 306 static struct hostent *(*fp)(const char *name, int af, int flags, 312 return ((*fp)(name, af, flags, errp)); 319 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, in argument [all...] |
H A D | resolver.c | 563 ENTRY(gethostbyname2)(const char *name, int af) { argument 570 return (REAL(gethostbyname2)(name, af)); 572 TRACE(("gethostbyname2(name=%s)\n", idn__debug_xstring(name, 60), af)); 581 hp = copy_decode_hostent_static(REAL(gethostbyname2)(name, af), 672 ENTRY(gethostbyname2_r)(const char *name, int af, struct hostent *result, argument 685 return (REAL(gethostbyname2_r)(name, af, result, buffer, 710 n = REAL(gethostbyname2_r)(name, af, &he, data, datalen, rp, errp); 881 ENTRY(getipnodebyname)(const char *name, int af, int flags, int *errp) { argument 887 return (REAL(getipnodebyname)(name, af, flags, errp)); 889 TRACE(("getipnodebyname(name=%s)\n", idn__debug_xstring(name, 60), af)); 914 getipnodebyaddr(const void *src, size_t len, int af, int *errp) argument [all...] |
/bind-9.6-ESV-R11/lib/isc/unix/ |
H A D | net.c | 403 getudpportrange_sysctl(int af, in_port_t *low, in_port_t *high) { argument 408 if (af == AF_INET) { 435 getudpportrange_sysctl(int af, in_port_t *low, in_port_t *high) { argument 444 if (af == AF_INET) { 476 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high) { argument 482 result = getudpportrange_sysctl(af, low, high); 484 UNUSED(af);
|
/bind-9.6-ESV-R11/unit/atf-src/atf-run/ |
H A D | atf-run.cpp | 244 impl::atffile af = impl::read_atffile(tp / "Atffile"); local 249 af.props().find("test-suite"); 250 INV(iter != af.props().end()); 255 for (std::vector< std::string >::const_iterator iter = af.tps().begin(); 256 iter != af.tps().end(); iter++) { 258 impl::merge_configs(af.conf(), test_suite_vars)); 484 impl::atffile af = impl::read_atffile(tp / "Atffile"); local 485 std::vector< std::string > aux = af.tps(); 521 impl::atffile af = impl::read_atffile(atf::fs::path("Atffile")); local 524 tps = af [all...] |
/bind-9.6-ESV-R11/bin/dig/ |
H A D | dighost.c | 568 int af = 0; local 572 af = AF_INET; 576 af = AF_INET6; 580 return (af); 591 int af; local 596 af = addr2af(confdata->nameservers[i].family); 598 if (af == AF_INET && !have_ipv4) 600 if (af == AF_INET6 && !have_ipv6) 603 lwres_net_ntop(af, confdata->nameservers[i].address, 656 add_nameserver(lwres_conf_t *confdata, const char *addr, int af) { argument [all...] |