Lines Matching refs:sa_family
97 if (addr && tmp->addr.sa.sa_family == family)
176 if (addr->sa.sa_family == AF_INET &&
185 if (addr->sa.sa_family == AF_INET6 &&
410 new->family = iface->addr.sa.sa_family;
420 if ((new->tcpfd = socket(iface->addr.sa.sa_family, SOCK_STREAM, 0)) == -1 ||
421 (new->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1 ||
429 if (iface->addr.sa.sa_family == AF_INET6)
446 if (iface->addr.sa.sa_family == AF_INET6 && (errno == ENODEV || errno == EADDRNOTAVAIL) &&
467 if ((daemon->options & OPT_TFTP) && iface->addr.sa.sa_family == AF_INET && iface->dhcp_ok)
573 new->family = iface->addr.sa.sa_family;
583 if ((new->tcpfd = socket(iface->addr.sa.sa_family, SOCK_STREAM, 0)) == -1 ||
584 (new->fd = socket(iface->addr.sa.sa_family, SOCK_DGRAM, 0)) == -1 ||
592 if (iface->addr.sa.sa_family == AF_INET6)
609 if (iface->addr.sa.sa_family == AF_INET6 && (errno == ENODEV || errno == EADDRNOTAVAIL) &&
631 if ((daemon->options & OPT_TFTP) && iface->addr.sa.sa_family == AF_INET && iface->dhcp_ok)
663 addr.sa.sa_family = family;
715 if (addr_copy.sa.sa_family == AF_INET)
749 if (addr->sa.sa_family == AF_INET &&
755 if (addr->sa.sa_family == AF_INET6 &&
774 if ((sfd->fd = socket(addr->sa.sa_family, SOCK_DGRAM, 0)) == -1)
859 if (new->addr.sa.sa_family == AF_INET &&
1269 ifr.ifr_addr.sa_family = AF_INET;