/bind-9.6-ESV-R11/lib/isc/include/isc/ |
H A D | netscope.h | 39 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
|
H A D | interfaceiter.h | 53 unsigned int af; /*%< Address family. */ member in struct:isc_interface
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | inter_test.c | 53 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af, 55 INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6); 56 res = inet_ntop(ifdata.af, &ifdata.address.type, buf, 65 INSIST(ifdata.address.family == ifdata.af); 66 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, 69 INSIST(ifdata.netmask.family == ifdata.af); 71 res = inet_ntop(ifdata.af, &ifdata.dstaddress.type, 76 INSIST(ifdata.dstaddress.family == ifdata.af); 100 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af, [all...] |
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);
|
/bind-9.6-ESV-R11/lib/dns/include/dns/ |
H A D | portlist.h | 46 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port); 48 * Add the given <port,af> tuple to the portlist. 52 *\li 'af' to be AF_INET or AF_INET6 60 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port); 62 * Remove the given <port,af> tuple to the portlist. 66 *\li 'af' to be AF_INET or AF_INET6 70 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port); 72 * Find the given <port,af> tuple to the portlist. 76 *\li 'af' to be AF_INET or AF_INET6
|
/bind-9.6-ESV-R11/contrib/idn/idnkit-1.0-src/tools/runidn/ |
H A D | stub.h | 28 idn_stub_gethostbyname2(const char *name, int af); 34 idn_stub_gethostbyname2_r(const char *name, int af, struct hostent *result, 63 idn_stub_getipnodebyname(const char *name, int af, int flags, int *errp); 68 idn_stub_getipnodebyaddr(const void *src, size_t len, int af, int *errp);
|
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/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/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...] |
/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/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/unix/include/lwres/ |
H A D | net.h | 125 lwres_net_ntop(int af, const void *src, char *dst, size_t size); 128 lwres_net_pton(int af, const char *src, void *dst);
|
/bind-9.6-ESV-R11/lib/lwres/ |
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...] |
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 | 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) {
|
/bind-9.6-ESV-R11/contrib/queryperf/missing/ |
H A D | getaddrinfo.c | 473 get_addr(hostname, af, res0, pai, port0) 475 int af; 491 if (af == AF_UNSPEC) { 501 if (af != afdl[i].a_af) 537 get_addr0(hostname, af, res, pai, port0) 539 int af; 557 if (af == AF_UNSPEC) { 561 hp = gethostbyname2(hostname, af); 563 if (af != AF_UNSPEC && af ! [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/lib/isc/unix/include/isc/ |
H A D | net.h | 328 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high); 346 isc_net_ntop(int af, const void *src, char *dst, size_t size); 352 isc_net_pton(int af, const char *src, void *dst);
|
/bind-9.6-ESV-R11/lib/isc/win32/include/isc/ |
H A D | net.h | 382 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high); 400 isc_net_ntop(int af, const void *src, char *dst, size_t size); 406 isc_net_pton(int af, const char *src, void *dst);
|
/bind-9.6-ESV-R11/lib/lwres/win32/include/lwres/ |
H A D | net.h | 226 lwres_net_ntop(int af, const void *src, char *dst, size_t size); 229 lwres_net_pton(int af, const char *src, void *dst);
|