/bind-9.11.3/lib/isc/include/isc/ |
H A D | netscope.h | 30 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid);
|
H A D | interfaceiter.h | 44 unsigned int af; /*%< Address family. */ member in struct:isc_interface
|
/bind-9.11.3/bin/tests/ |
H A D | inter_test.c | 45 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af, 47 INSIST(ifdata.af == AF_INET || ifdata.af == AF_INET6); 48 res = inet_ntop(ifdata.af, &ifdata.address.type, buf, 57 INSIST(ifdata.address.family == ifdata.af); 58 res = inet_ntop(ifdata.af, &ifdata.netmask.type, buf, 61 INSIST(ifdata.netmask.family == ifdata.af); 63 res = inet_ntop(ifdata.af, &ifdata.dstaddress.type, 68 INSIST(ifdata.dstaddress.family == ifdata.af); 92 fprintf(stdout, "%s %d %x\n", ifdata.name, ifdata.af, [all...] |
H A D | gxba_test.c | 60 int af; local 67 af = AF_INET; 71 af = AF_INET6; 80 he = gethostbyaddr(addr, len, af); 83 he = getipnodebyaddr(addr, len, af, &error);
|
/bind-9.11.3/lib/dns/include/dns/ |
H A D | portlist.h | 37 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port); 39 * Add the given <port,af> tuple to the portlist. 43 *\li 'af' to be AF_INET or AF_INET6 51 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port); 53 * Remove the given <port,af> tuple to the portlist. 57 *\li 'af' to be AF_INET or AF_INET6 61 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_t port); 63 * Find the given <port,af> tuple to the portlist. 67 *\li 'af' to be AF_INET or AF_INET6
|
/bind-9.11.3/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.11.3/bin/tests/system/lwresd/ |
H A D | lwtest.c | 124 lwres_uint32_t af) 145 if (af == LWRES_ADDRTYPE_V4) { 161 if (addr->family != af || addr->length != len || 185 test_gnba(const char *target, lwres_uint32_t af, lwres_result_t expected, argument 193 if (af == LWRES_ADDRTYPE_V4) { 204 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res); 259 test_gethostbyname2(const char *name, const char *address, int af) { argument 264 hp = gethostbyname2(name, af); 280 if (af == AF_INET) 284 ret = inet_pton(af, addres 123 test_gabn(const char *target, lwres_result_t expected, const char *address, lwres_uint32_t af) argument 307 test_getipnodebyname(const char *name, const char *address, int af, int v4map, int all) argument 367 test_gethostbyaddr(const char *address, int af, const char *name) argument 406 test_getipnodebyaddr(const char *address, int af, const char *name) argument 448 test_getaddrinfo(const char *name, int af, int v4ok, int v6ok, const char *address) argument 538 test_getnameinfo(const char *address, int af, const char *name) argument [all...] |
/bind-9.11.3/lib/dns/ |
H A D | portlist.c | 129 dns_portlist_add(dns_portlist_t *portlist, int af, in_port_t port) { argument 134 REQUIRE(af == AF_INET || af == AF_INET6); 140 if (af == AF_INET) 167 if (af == AF_INET) 180 dns_portlist_remove(dns_portlist_t *portlist, int af, in_port_t port) { argument 184 REQUIRE(af == AF_INET || af == AF_INET6); 190 if (af == AF_INET) 206 dns_portlist_match(dns_portlist_t *portlist, int af, in_port_ argument [all...] |
/bind-9.11.3/lib/isc/ |
H A D | netscope.c | 24 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument 34 if (af != AF_INET6)
|
H A D | inet_pton.c | 49 isc_net_pton(int af, const char *src, void *dst) { argument 50 switch (af) {
|
H A D | inet_ntop.c | 44 * isc_net_ntop(af, src, dst, size) 52 isc_net_ntop(int af, const void *src, char *dst, size_t size) argument 54 switch (af) {
|
/bind-9.11.3/lib/lwres/unix/include/lwres/ |
H A D | net.h | 116 lwres_net_ntop(int af, const void *src, char *dst, size_t size); 119 lwres_net_pton(int af, const char *src, void *dst);
|
/bind-9.11.3/lib/lwres/ |
H A D | getipnode.c | 49 * lwres_getipnodebyname() looks up addresses of protocol family af for 55 * This is used with an af of #AF_INET6, and causes IPv4 addresses 59 * This is used with an af of #AF_INET6, and causes all known 74 * is len bytes long. af denotes the protocol family, typically PF_INET 168 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src); 171 hostfromname(lwres_gabnresponse_t *name, int af); 190 lwres_getipnodebyname(const char *name, int af, int flags, int *error_num) { argument 217 if ((af == AF_INET6 && (flags & AI_V4MAPPED) == 0 && v4 == 1) || 218 (af == AF_INET && v6 == 1) || 221 (have_v4 == 0 && af 325 lwres_getipnodebyaddr(const void *src, size_t len, int af, int *error_num) argument 835 copyandmerge(struct hostent *he1, struct hostent *he2, int af, int *error_num) argument 1001 hostfromaddr(lwres_gnbaresponse_t *addr, int af, const void *src) argument 1077 hostfromname(lwres_gabnresponse_t *name, int af) argument [all...] |
H A D | lwconfig.c | 105 int af = 0; local 109 af = AF_INET; 113 af = AF_INET6; 117 return (af); 676 int af; local 689 af = lwresaddr2af(confdata->nameservers[i].family); 691 p = lwres_net_ntop(af, confdata->nameservers[i].address, 696 if (af == AF_INET6 && confdata->lwservers[i].zone != 0) { 706 af = lwresaddr2af(confdata->lwservers[i].family); 708 p = lwres_net_ntop(af, confdat [all...] |
H A D | lwinetntop.c | 42 * lwres_net_ntop(af, src, dst, size) 50 lwres_net_ntop(int af, const void *src, char *dst, size_t size) { argument 51 switch (af) {
|
H A D | lwinetpton.c | 37 * lwres_net_pton(af, src, dst) 48 lwres_net_pton(int af, const char *src, void *dst) { argument 49 switch (af) {
|
H A D | gethost.c | 61 * lwres_gethostbyname2() looks for an address of protocol family af: 176 lwres_gethostbyname2(const char *name, int af) { argument 180 he = lwres_getipnodebyname(name, af, 0, &lwres_h_errno);
|
/bind-9.11.3/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.11.3/unit/atf-src/tools/ |
H A D | atf-run.cpp | 248 tools::atffile af = tools::read_atffile(tp / "Atffile"); local 252 vars_map::const_iterator iter = af.props().find("test-suite"); 253 assert(iter != af.props().end()); 258 for (std::vector< std::string >::const_iterator iter = af.tps().begin(); 259 iter != af.tps().end(); iter++) { 261 tools::config_file::merge_configs(af.conf(), test_suite_vars)); 489 tools::atffile af = tools::read_atffile(tp / "Atffile"); local 490 std::vector< std::string > aux = af.tps(); 526 tools::atffile af = tools::read_atffile(tools::fs::path("Atffile")); local 529 tps = af [all...] |
/bind-9.11.3/lib/isc/win32/include/isc/ |
H A D | net.h | 391 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high); 409 isc_net_ntop(int af, const void *src, char *dst, size_t size); 416 isc_net_pton(int af, const char *src, void *dst);
|
/bind-9.11.3/lib/lwres/win32/include/lwres/ |
H A D | net.h | 217 lwres_net_ntop(int af, const void *src, char *dst, size_t size); 220 lwres_net_pton(int af, const char *src, void *dst);
|
/bind-9.11.3/lib/isc/unix/ |
H A D | net.c | 769 getudpportrange_sysctl(int af, in_port_t *low, in_port_t *high) { argument 774 if (af == AF_INET) { 801 getudpportrange_sysctl(int af, in_port_t *low, in_port_t *high) { argument 810 if (af == AF_INET) { 842 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high) { argument 851 result = getudpportrange_sysctl(af, low, high); 854 UNUSED(af); 873 UNUSED(af);
|
/bind-9.11.3/lib/isc/unix/include/isc/ |
H A D | net.h | 376 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high); 394 isc_net_ntop(int af, const void *src, char *dst, size_t size); 401 isc_net_pton(int af, const char *src, void *dst);
|