Searched defs:af (Results 1 - 22 of 22) sorted by relevance

/bind-9.11.3/lib/isc/include/isc/
H A Dinterfaceiter.h44 unsigned int af; /*%< Address family. */ member in struct:isc_interface
/bind-9.11.3/lib/isc/
H A Dnetscope.c24 isc_netscope_pton(int af, char *scopename, void *addr, isc_uint32_t *zoneid) { argument
34 if (af != AF_INET6)
H A Dinet_ntop.c44 * 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) {
H A Dinet_pton.c49 isc_net_pton(int af, const char *src, void *dst) { argument
50 switch (af) {
/bind-9.11.3/bin/tests/
H A Dgxba_test.c60 int af; local
67 af = AF_INET;
71 af = AF_INET6;
80 he = gethostbyaddr(addr, len, af);
83 he = getipnodebyaddr(addr, len, af, &error);
H A Dlwres_test.c189 test_gnba(const char *target, lwres_uint32_t af) { argument
196 if (af == LWRES_ADDRTYPE_V4) {
207 ret = lwres_getnamebyaddr(ctx, af, len, addrbuf, &res);
/bind-9.11.3/lib/lwres/
H A Dlwinetntop.c42 * 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 Dlwinetpton.c37 * lwres_net_pton(af, src, dst)
48 lwres_net_pton(int af, const char *src, void *dst) { argument
49 switch (af) {
H A Dgethost.c61 * 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);
H A Dlwconfig.c105 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 Dgetipnode.c49 * 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...]
/bind-9.11.3/lib/dns/
H A Dportlist.c129 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...]
H A Drdata.c148 inet_totext(int af, isc_region_t *src, isc_buffer_t *target);
1722 inet_totext(int af, isc_region_t *src, isc_buffer_t *target) { argument
1726 if (inet_ntop(af, src->base, tmpbuf, sizeof(tmpbuf)) == NULL)
/bind-9.11.3/lib/isc/win32/
H A Dnet.c293 isc_net_getudpportrange(int af, in_port_t *low, in_port_t *high) { argument
298 UNUSED(af);
/bind-9.11.3/contrib/idn/idnkit-1.0-src/tools/runidn/
H A Dstub.c183 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 Dresolver.c563 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/named/
H A Dlwdgabn.c65 int af; local
70 af = AF_INET;
72 af = AF_INET6;
77 if (sa->sa_family != af)
H A Dserver.c1121 get_view_querysource_dispatch(const cfg_obj_t **maps, int af, argument
1133 switch (af) {
1147 INSIST(isc_sockaddr_pf(&sa) == af);
1156 switch (af) {
1174 switch (af) {
1210 switch (af) {
/bind-9.11.3/unit/atf-src/tools/
H A Datf-run.cpp248 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/bin/tests/system/lwresd/
H A Dlwtest.c124 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/isc/unix/
H A Dnet.c769 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/bin/dig/
H A Ddighost.c616 int af = 0; local
620 af = AF_INET;
624 af = AF_INET6;
628 return (af);
640 int af; local
645 af = addr2af(confdata->nameservers[i].family);
647 if (af == AF_INET && !have_ipv4)
649 if (af == AF_INET6 && !have_ipv6)
652 lwres_net_ntop(af, confdata->nameservers[i].address,
654 if (af
711 add_nameserver(lwres_conf_t *confdata, const char *addr, int af) argument
[all...]

Completed in 97 milliseconds