Lines Matching defs:family
59 * 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;
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 == AF_LOCAL || (family == 0 && *hostname == '/')))
265 (family == AF_LOCAL || (family == 0 && *servname == '/')))
309 if (family == AF_INET || family == 0) {
320 if (family == AF_INET6 || family == 0) {
338 * If the family isn't specified or AI_NUMERICHOST specified,
348 (family == 0 || (flags & AI_NUMERICHOST) != 0)) {
390 if (family == AF_INET6) {
402 family = AF_INET;
408 if (family && family != AF_INET6)
412 family = AF_INET6;
416 if (family != 0 && family != AF_INET6)
421 family = AF_INET6;
424 ai = ai_clone(ai_list, family);
457 set_order(family, net_order);
501 set_order(int family, int (**net_order)(const char *, int, struct addrinfo **,
507 if (family) {
508 switch (family) {
738 ai_alloc(int family, int addrlen) {
751 ai->ai_family = family;
752 ai->ai_addr->sa_family = family;
760 ai_clone(struct addrinfo *oai, int family) {
763 ai = ai_alloc(family, ((family == AF_INET6) ?