/bind-9.6-ESV-R11/bin/named/ |
H A D | lwaddr.c | 38 lwaddr_netaddr_fromlwresaddr(isc_netaddr_t *na, lwres_addr_t *la) { argument 45 isc_netaddr_fromin(na, &ina); 49 isc_netaddr_fromin6(na, &ina6); 58 isc_netaddr_t na; local 61 result = lwaddr_netaddr_fromlwresaddr(&na, la); 64 isc_sockaddr_fromnetaddr(sa, &na, port); 73 lwaddr_lwresaddr_fromnetaddr(lwres_addr_t *la, isc_netaddr_t *na) { argument 74 if (na->family != AF_INET && na->family != AF_INET6) 77 if (na 91 isc_netaddr_t na; local [all...] |
H A D | lwresd.c | 123 isc_netaddr_t na; local 161 isc_netaddr_fromsockaddr(&na, &sa); 163 CHECK(isc_netaddr_totext(&na, &b)); 183 isc_netaddr_fromsockaddr(&na, &sa); 184 result = isc_netaddr_masktoprefixlen(&na, &mask); 187 isc_netaddr_format(&na, addrtext, 200 isc_netaddr_fromsockaddr(&na, &sa); 203 CHECK(isc_netaddr_totext(&na, &b)); 253 isc_netaddr_fromsockaddr(&na, &sa); 255 CHECK(isc_netaddr_totext(&na, [all...] |
H A D | xfrout.c | 923 isc_netaddr_t na; local 1124 isc_netaddr_fromsockaddr(&na, &client->peeraddr); 1125 (void)dns_peerlist_peerbyaddr(client->view->peers, &na, &peer);
|
H A D | server.c | 782 isc_netaddr_t na; local 789 cfg_obj_asnetprefix(cfg_map_getname(cpeer), &na, &prefixlen); local 792 result = dns_peer_newprefix(mctx, &na, prefixlen, &peer); 871 if (na.family == AF_INET) 884 if (na.family == AF_INET) 897 if (na.family == AF_INET)
|
/bind-9.6-ESV-R11/bin/tests/net/ |
H A D | netaddr_multicast.c | 54 to_netaddr(t_addr_t *addr, isc_netaddr_t *na) { argument 64 isc_netaddr_fromin(na, &in); 70 isc_netaddr_fromin6(na, &in6); 81 isc_netaddr_t na; local 91 result = to_netaddr(addr, &na); 97 tf = isc_netaddr_ismulticast(&na);
|
/bind-9.6-ESV-R11/lib/bind9/ |
H A D | getaddresses.c | 99 isc_netaddr_t na; local 124 isc_netaddr_fromin6(&na, &in6); 125 isc_netaddr_setzone(&na, zone); 127 (const isc_netaddr_t *)&na,
|
/bind-9.6-ESV-R11/bin/tests/ |
H A D | byaddr_test.c | 89 isc_netaddr_t na; local 221 na.family = AF_INET; 223 (char *)&na.type.in) != 1) { 224 na.family = AF_INET6; 226 (char *)&na.type.in6) != 1) { 232 result = dns_byaddr_create(mctx, &na, view, options, task,
|
/bind-9.6-ESV-R11/lib/isc/ |
H A D | netaddr.c | 182 isc_netaddr_format(const isc_netaddr_t *na, char *array, unsigned int size) { argument 187 result = isc_netaddr_totext(na, &buf); 207 na->family); 214 isc_netaddr_prefixok(const isc_netaddr_t *na, unsigned int prefixlen) { argument 219 switch (na->family) { 221 p = (const unsigned char *) &na->type.in; 227 p = (const unsigned char *) &na->type.in6; 376 isc_netaddr_ismulticast(isc_netaddr_t *na) { argument 377 switch (na->family) { 379 return (ISC_TF(ISC_IPADDR_ISMULTICAST(na 388 isc_netaddr_isexperimental(isc_netaddr_t *na) argument 398 isc_netaddr_islinklocal(isc_netaddr_t *na) argument 410 isc_netaddr_issitelocal(isc_netaddr_t *na) argument [all...] |
H A D | sockaddr.c | 107 isc_netaddr_t na, nb; local 108 isc_netaddr_fromsockaddr(&na, a); 110 return (isc_netaddr_eqprefix(&na, &nb, prefixlen)); 370 isc_sockaddr_fromnetaddr(isc_sockaddr_t *sockaddr, const isc_netaddr_t *na, argument 374 sockaddr->type.sin.sin_family = na->family; 375 switch (na->family) { 381 sockaddr->type.sin.sin_addr = na->type.in; 389 memmove(&sockaddr->type.sin6.sin6_addr, &na->type.in6, 16); 391 sockaddr->type.sin6.sin6_scope_id = isc_netaddr_getzone(na);
|
/bind-9.6-ESV-R11/bin/named/include/named/ |
H A D | lwdclient.h | 85 isc_netaddr_t na; member in struct:ns_lwdclient
|
/bind-9.6-ESV-R11/lib/isccfg/ |
H A D | namedconf.c | 1634 isc_netaddr_t na; local 1635 isc_netaddr_fromsockaddr(&na, &obj->value.sockaddr); 1637 cfg_print_rawaddr(pctx, &na);
|
H A D | parser.c | 1679 token_addr(cfg_parser_t *pctx, unsigned int flags, isc_netaddr_t *na) { argument 1690 isc_netaddr_any(na); 1693 isc_netaddr_any6(na); 1701 isc_netaddr_fromin(na, &in4a); 1714 isc_netaddr_fromin(na, &in4a); 1746 isc_netaddr_fromin6(na, &in6a); 1747 isc_netaddr_setzone(na, zone); 1756 cfg_parse_rawaddr(cfg_parser_t *pctx, unsigned int flags, isc_netaddr_t *na) { argument 1762 result = token_addr(pctx, flags, na); 1822 cfg_print_rawaddr(cfg_printer_t *pctx, const isc_netaddr_t *na) { argument [all...] |
/bind-9.6-ESV-R11/lib/dns/ |
H A D | resolver.c | 2841 isc_netaddr_t na; local 2897 isc_netaddr_fromsockaddr(&na, sa); 2898 isc_netaddr_format(&na, buf, sizeof(buf));
|