Searched defs:family (Results 1 - 21 of 21) sorted by relevance

/bind-9.6-ESV-R11/lib/isc/include/isc/
H A Dnetaddr.h37 unsigned int family; member in struct:isc_netaddr
174 * ISC_R_NOTIMPLEMENTED unsupported family
H A Dradix.h41 (pt).family = (na)->family; \
43 if ((pt).family == AF_INET6) { \
50 (pt).family = AF_UNSPEC; \
57 unsigned int family; /* AF_INET | AF_INET6, or AF_UNSPEC for "any" */ member in struct:isc_prefix
91 #define ISC_IS6(family) ((family) == AF_INET6 ? 1 : 0)
/bind-9.6-ESV-R11/bin/tests/net/
H A Dnetaddr_multicast.c36 int family; member in struct:__anon28
59 switch (addr->family) {
/bind-9.6-ESV-R11/lib/dns/rdata/in_1/
H A Dapl_42.h26 isc_uint16_t family; member in struct:dns_rdata_apl_ent
/bind-9.6-ESV-R11/lib/dns/
H A Diptable.c69 int family; local
83 family = pfx.family;
84 if (family == AF_UNSPEC) {
100 if (node->data[ISC_IS6(family)] == NULL) {
102 node->data[ISC_IS6(family)] = &dns_iptable_pos;
104 node->data[ISC_IS6(family)] = &dns_iptable_neg;
H A Dacl.c192 isc_uint16_t bitlen, family; local
205 reqaddr->family != AF_INET6 ||
214 family = addr->family;
215 bitlen = family == AF_INET6 ? 128 : 32;
226 match_num = node->node_num[ISC_IS6(family)];
227 if (*(isc_boolean_t *) node->data[ISC_IS6(family)] == ISC_TRUE)
497 int bitlen, family; local
500 family = prefix->family;
[all...]
H A Dresolver.c1465 * don't support a protocol family, then its dispatcher
2565 * the family we are using then try to add
2710 * provided that we have addresses in some family we
2752 int family; local
2754 family = (res->dispatchv6 != NULL) ? AF_INET6 : AF_INET;
2764 if (isc_sockaddr_pf(&a->_u.addr) != family)
/bind-9.6-ESV-R11/lib/isc/unix/
H A Difiter_getifaddrs.c121 * If the interface has an unsupported address family,
128 int family; local
146 family = ifa->ifa_addr->sa_family;
147 if (family != AF_INET && family != AF_INET6)
151 if (family == AF_INET6)
175 iter->current.af = family;
177 get_addr(family, &iter->current.address, ifa->ifa_addr, ifa->ifa_name);
180 get_addr(family, &iter->current.netmask, ifa->ifa_netmask,
185 get_addr(family,
[all...]
H A Difiter_sysctl.c62 0, /* Any address family. */
147 * If the interface has an unsupported address family,
194 int family; local
200 family = sa->sa_family;
241 family = addr_sa->sa_family;
242 if (family != AF_INET && family != AF_INET6)
245 iter->current.af = family;
247 get_addr(family, &iter->current.address, addr_sa,
251 get_addr(family,
[all...]
H A Dinterfaceiter.c59 * The address family is given explicitly
62 * not have a valid address family).
66 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src, argument
79 dst->family = family;
80 switch (family) {
H A Difiter_ioctl.c400 dst->family = AF_INET;
423 * If the interface has an unsupported address family, or if
432 int family; local
459 family = ifreq.ifr_addr.sa_family;
461 if (family != AF_INET && family != AF_INET6)
463 if (family != AF_INET)
468 iter->current.af = family;
474 get_addr(family, &iter->current.address,
480 switch (family) {
628 int family; local
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/missing/
H A Dgetnameinfo.c97 int family, len, i; local
114 family = sa->sa_family;
116 if (afdl[i].a_af == family) {
/bind-9.6-ESV-R11/lib/dns/rdata/generic/
H A Dopt_41.c121 isc_uint16_t family; local
128 family = uint16_fromregion(&sregion);
134 switch (family) {
/bind-9.6-ESV-R11/lib/lwres/
H A Dgetnameinfo.c170 int family, i; local
196 family = sa->sa_family;
198 if (afdl[i].a_af == family) {
208 switch (family) {
298 switch (family) {
H A Dgetaddrinfo.c59 * The protocol family that should be used. When ai_family is set
61 * family supported by the operating system.</li>
154 *ai_clone(struct addrinfo *oai, int family),
155 *ai_alloc(int family, int addrlen);
179 int family, socktype, flags, protocol; local
197 family = hints->ai_family;
201 switch (family) {
248 family = 0;
255 * First, deal with AF_LOCAL. If the family was not set,
261 (family
501 set_order(int family, int (**net_order)(const char *, int, struct addrinfo **, int, int)) argument
738 ai_alloc(int family, int addrlen) argument
760 ai_clone(struct addrinfo *oai, int family) argument
[all...]
/bind-9.6-ESV-R11/lib/isc/
H A Dnetaddr.c39 if (a->family != b->family)
45 switch (a->family) {
79 if (a->family != b->family)
85 switch (a->family) {
137 switch (netaddr->family) {
157 r = inet_ntop(netaddr->family, type, abuf, sizeof(abuf));
165 if (netaddr->family == AF_INET6 && netaddr->zone != 0) {
206 "<unknown address, family
335 int family = s->type.sa.sa_family; local
[all...]
H A Dradix.c33 _new_prefix(isc_mem_t *mctx, isc_prefix_t **target, int family,
49 _new_prefix(isc_mem_t *mctx, isc_prefix_t **target, int family, void *dest, argument
56 if (family != AF_INET6 && family != AF_INET && family != AF_UNSPEC)
63 if (family == AF_INET6) {
72 prefix->family = family;
98 INSIST((prefix->family == AF_INET && prefix->bitlen <= 32) ||
99 (prefix->family
[all...]
/bind-9.6-ESV-R11/lib/isc/win32/
H A Dinterfaceiter.c49 * The address family is given explicitly
52 * not have a valid address family).
87 get_addr(unsigned int family, isc_netaddr_t *dst, struct sockaddr *src) { argument
88 dst->family = family;
89 switch (family) {
305 * If the interface has an unsupported address family, or if
395 iter->current.netmask.family = AF_INET6;
/bind-9.6-ESV-R11/lib/lwres/include/lwres/
H A Dlwres.h121 lwres_uint32_t family; member in struct:lwres_addr
238 /*% mask has a non-zero 'family' and 'length' if set */
/bind-9.6-ESV-R11/bin/named/
H A Dinterfacemgr.c513 prefixlen = (netaddr->family == AF_INET) ? 32 : 128;
524 if (result != ISC_R_SUCCESS && netaddr->family == AF_INET6)
539 (netaddr->family == AF_INET) ? "IPv4" : "IPv6",
705 unsigned int family; local
711 family = interface.address.family;
712 if (family != AF_INET && family != AF_INET6)
714 if (scan_ipv4 == ISC_FALSE && family == AF_INET)
716 if (scan_ipv6 == ISC_FALSE && family
[all...]
/bind-9.6-ESV-R11/contrib/queryperf/
H A Dqueryperf.c156 int family = AF_UNSPEC; variable
268 " [-b bufsize] [-t timeout] [-n] [-l limit] [-f family] [-1]\n"
281 " -f specify address family of DNS transport, inet or inet6 (default: any)\n"
424 hints.ai_family = family;
548 family = AF_INET;
551 family = AF_INET6;
554 family = AF_UNSPEC;
556 fprintf(stderr, "Invalid address family: %s\n",
859 * Choose an appropriate socket according to the address family of the
879 fprintf(stderr, "unexpected address family
[all...]

Completed in 5209 milliseconds