Lines Matching defs:family
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;
211 family = hints->ai_family;
215 switch (family) {
262 family = 0;
269 * First, deal with AF_LOCAL. If the family was not set,
275 (family == AF_LOCAL || (family == 0 && *hostname == '/')))
279 (family == AF_LOCAL || (family == 0 && *servname == '/')))
323 if (family == AF_INET || family == 0) {
334 if (family == AF_INET6 || family == 0) {
352 * If the family isn't specified or AI_NUMERICHOST specified, check
361 (family == 0 || (flags & AI_NUMERICHOST) != 0)) {
401 if (family == AF_INET6) {
413 family = AF_INET;
418 if (family && family != AF_INET6)
422 family = AF_INET6;
426 if (family != 0 && family != AF_INET6)
431 family = AF_INET6;
434 ai = ai_alloc(family,
435 ((family == AF_INET6) ?
471 set_order(family, net_order);
486 err = resolve_name(family, hostname, flags, &ai_list,
678 int error = 0, family;
692 family = AF_INET;
696 family = AF_INET6;
765 ai = ai_alloc(family,
766 ((family == AF_INET6) ?
782 switch (family) {
894 resolve_name(int family, const char *hostname, int flags,
924 head.ai_family = family;
1077 set_order(int family, int (**net_order)(const char *, int, struct addrinfo **,
1083 if (family) {
1084 switch (family) {
1229 ai_alloc(int family, int addrlen) {
1242 ai->ai_family = family;
1243 ai->ai_addr->sa_family = family;
1251 ai_clone(struct addrinfo *oai, int family) {
1254 ai = ai_alloc(family, ((family == AF_INET6) ?