/bind-9.11.3/lib/isc/include/isc/ |
H A D | netaddr.h | 28 unsigned int family; member in struct:isc_netaddr 171 * ISC_R_NOTIMPLEMENTED unsupported family
|
H A D | radix.h | 32 (pt).family = (na)->family; \ 34 if ((pt).family == AF_INET6) { \ 41 (pt).family = AF_UNSPEC; \ 50 unsigned int family; /* AF_INET | AF_INET6, or AF_UNSPEC for "any" */ member in struct:isc_prefix 93 ((((p)->family == AF_INET6) ? 1 : 0) + ((p)->ecs ? 2 : 0))
|
/bind-9.11.3/lib/dns/rdata/in_1/ |
H A D | apl_42.h | 17 isc_uint16_t family; member in struct:dns_rdata_apl_ent
|
/bind-9.11.3/lib/isc/tests/ |
H A D | inet_ntop_test.c | 31 int family; member in struct:__anon278 46 r = inet_pton(testdata[i].family, testdata[i].address, abuf); 48 isc_net_ntop(testdata[i].family, abuf, buf, sizeof(buf));
|
/bind-9.11.3/lib/samples/ |
H A D | sample-gai.c | 23 do_gai(int family, char *hostname) { argument 29 hints.ai_family = family; 34 fprintf(stderr, "getaddrinfo failed for %s,family=%d: %s\n", 35 hostname, family, gai_strerror(error));
|
/bind-9.11.3/bin/tests/net/ |
H A D | netaddr_multicast.c | 28 int family; member in struct:__anon39 51 switch (addr->family) {
|
/bind-9.11.3/lib/isc/unix/ |
H A D | ifiter_getifaddrs.c | 112 * If the interface has an unsupported address family, 119 int family; local 137 family = ifa->ifa_addr->sa_family; 138 if (family != AF_INET && family != AF_INET6) 142 if (family == AF_INET6) 166 iter->current.af = family; 168 get_addr(family, &iter->current.address, ifa->ifa_addr, ifa->ifa_name); 171 get_addr(family, &iter->current.netmask, ifa->ifa_netmask, 176 get_addr(family, [all...] |
H A D | ifiter_sysctl.c | 55 0, /* Any address family. */ 140 * If the interface has an unsupported address family, 187 int family; local 193 family = sa->sa_family; 234 family = addr_sa->sa_family; 235 if (family != AF_INET && family != AF_INET6) 238 iter->current.af = family; 240 get_addr(family, &iter->current.address, addr_sa, 244 get_addr(family, [all...] |
H A D | interfaceiter.c | 50 * The address family is given explicitly 53 * not have a valid address family). 57 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src, argument 70 dst->family = family; 71 switch (family) {
|
H A D | ifiter_ioctl.c | 393 dst->family = AF_INET; 417 * If the interface has an unsupported address family, or if 426 int family; local 453 family = ifreq.ifr_addr.sa_family; 455 if (family != AF_INET && family != AF_INET6) 457 if (family != AF_INET) 462 iter->current.af = family; 468 get_addr(family, &iter->current.address, 474 switch (family) { 622 int family; local [all...] |
/bind-9.11.3/contrib/dnsperf-2.1.0.0-1/ |
H A D | net.c | 51 perf_net_parsefamily(const char *family) argument 53 if (family == NULL || strcmp(family, "any") == 0) 55 else if (strcmp(family, "inet") == 0) 58 else if (strcmp(family, "inet6") == 0) 62 fprintf(stderr, "invalid family %s\n", family); 69 perf_net_parseserver(int family, const char *name, unsigned int port, argument 86 if (isc_sockaddr_pf(&addrs[i]) == family || 87 family 101 perf_net_parselocal(int family, const char *name, unsigned int port, isc_sockaddr_t *addr) argument 125 int family; local [all...] |
H A D | resperf.c | 219 const char *family = NULL; local 249 perf_opt_add('f', perf_opt_string, "family", 250 "address family of DNS transport, inet or inet6", "any", 251 &family); 324 if (family != NULL) 325 sock_family = perf_net_parsefamily(family);
|
/bind-9.11.3/lib/dns/rdata/generic/ |
H A D | opt_41.c | 116 isc_uint16_t family; local 123 family = uint16_fromregion(&sregion); 130 switch (family) { 139 * family is unknown.
|
/bind-9.11.3/lib/lwres/ |
H A D | getnameinfo.c | 161 int family, i; local 187 family = sa->sa_family; 189 if (afdl[i].a_af == family) { 199 switch (family) { 289 switch (family) {
|
H A D | getaddrinfo.c | 62 * The protocol family that should be used. When ai_family is set 64 * family supported by the operating system.</li> 157 *ai_clone(struct addrinfo *oai, int family), 158 *ai_alloc(int family, int addrlen); 182 int family, socktype, flags, protocol; local 200 family = hints->ai_family; 204 switch (family) { 251 family = 0; 258 * First, deal with AF_LOCAL. If the family was not set, 264 (family 504 set_order(int family, int (**net_order)(const char *, int, struct addrinfo **, int, int)) argument 745 ai_alloc(int family, int addrlen) argument 767 ai_clone(struct addrinfo *oai, int family) argument [all...] |
/bind-9.11.3/contrib/queryperf/missing/ |
H A D | getnameinfo.c | 97 int family, len, i; local 114 family = sa->sa_family; 116 if (afdl[i].a_af == family) {
|
/bind-9.11.3/lib/irs/ |
H A D | getnameinfo.c | 148 int family, i; local 170 family = sa->sa_family; 172 if (afdl[i].a_af == family) { 182 switch (family) {
|
H A D | getaddrinfo.c | 46 * The protocol family that should be used. When ai_family is set 48 * family supported by the operating system.</li> 159 *ai_clone(struct addrinfo *oai, int family), 160 *ai_alloc(int family, int addrlen); 166 resolve_name(int family, const char *hostname, int flags, 192 int family, socktype, flags, protocol; local 211 family = hints->ai_family; 215 switch (family) { 262 family = 0; 269 * First, deal with AF_LOCAL. If the family wa 678 int error = 0, family; local 894 resolve_name(int family, const char *hostname, int flags, struct addrinfo **aip, int socktype, int port) argument 1077 set_order(int family, int (**net_order)(const char *, int, struct addrinfo **, int, int)) argument 1229 ai_alloc(int family, int addrlen) argument 1251 ai_clone(struct addrinfo *oai, int family) argument [all...] |
/bind-9.11.3/lib/isc/ |
H A D | netaddr.c | 30 if (a->family != b->family) 36 switch (a->family) { 70 if (a->family != b->family) 76 switch (a->family) { 128 switch (netaddr->family) { 148 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf)); 156 if (netaddr->family == AF_INET6 && netaddr->zone != 0) { 197 "<unknown address, family 326 int family = s->type.sa.sa_family; local [all...] |
H A D | radix.c | 25 _new_prefix(isc_mem_t *mctx, isc_prefix_t **target, int family, 41 _new_prefix(isc_mem_t *mctx, isc_prefix_t **target, int family, void *dest, argument 48 if (family != AF_INET6 && family != AF_INET && family != AF_UNSPEC) 55 if (family == AF_INET6) { 64 prefix->family = family; 94 INSIST((prefix->family == AF_INET && prefix->bitlen <= 32) || 95 (prefix->family [all...] |
/bind-9.11.3/lib/isc/win32/ |
H A D | interfaceiter.c | 41 * The address family is given explicitly 44 * not have a valid address family). 81 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src) { argument 82 dst->family = family; 83 switch (family) { 303 * If the interface has an unsupported address family, or if 395 iter->current.netmask.family = AF_INET6; 428 iter->current.address.family = AF_INET6; 429 iter->current.netmask.family [all...] |
/bind-9.11.3/lib/dns/ |
H A D | geoip.c | 60 * family and addr6 fields are to be used IPv6 is added. 64 unsigned int family; member in struct:geoip_state 158 set_state(unsigned int family, isc_uint32_t ipnum, const geoipv6_t *ipnum6, argument 192 if (family == AF_INET) 197 state->family = family; 210 get_state_for(unsigned int family, isc_uint32_t ipnum, argument 229 if (state->family == family && 230 ((state->family 244 country_lookup(GeoIP *db, dns_geoip_subtype_t subtype, unsigned int family, isc_uint32_t ipnum, const geoipv6_t *ipnum6, isc_uint8_t *scope) argument 398 city_lookup(GeoIP *db, dns_geoip_subtype_t subtype, unsigned int family, isc_uint32_t ipnum, const geoipv6_t *ipnum6, isc_uint8_t *scope) argument [all...] |
H A D | dnstap.c | 647 int family = isc_sockaddr_pf(sa); local 649 if (family != AF_INET6 && family != AF_INET) 652 if (family == AF_INET6) {
|
/bind-9.11.3/lib/isccfg/ |
H A D | aclconf.c | 624 isc_uint16_t family, dns_acl_t **target) 713 if (family != 0 && family != addr.family) { 717 "'%s': incorrect address family; " 621 cfg_acl_fromconfig2(const cfg_obj_t *caml, const cfg_obj_t *cctx, isc_log_t *lctx, cfg_aclconfctx_t *ctx, isc_mem_t *mctx, unsigned int nest_level, isc_uint16_t family, dns_acl_t **target) argument
|
/bind-9.11.3/lib/lwres/include/lwres/ |
H A D | lwres.h | 112 lwres_uint32_t family; member in struct:lwres_addr 230 /*% mask has a non-zero 'family' and 'length' if set */
|