PF_UNSPEC
if (_asr_sockaddr_from_str(sa, PF_UNSPEC, s) == -1)
case PF_UNSPEC:
if (ai->ai_family != PF_UNSPEC &&
if (as->as.ai.hints.ai_family != PF_UNSPEC)
if (as->as.ai.hints.ai_family != PF_UNSPEC)
#define MATCH_FAMILY(a, b) ((a) == matches[(b)].family || (a) == PF_UNSPEC)
as->as.ai.hints.ai_family = PF_UNSPEC;
hint.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1) {
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
long_passive("LPSV", PF_UNSPEC);
long_passive("EPSV", PF_UNSPEC);
if (pf != PF_UNSPEC && ctrl_addr.su_family != pf) {
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, pair) == -1)
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
case PF_UNSPEC:
ai.ai_family = PF_UNSPEC;
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, fds) != 0)
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC,
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC,
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, sv) == -1)
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_DGRAM, PF_UNSPEC, pair) == -1)
PF_UNSPEC, pipe_main2frontend) == -1)
PF_UNSPEC, pipe_main2engine) == -1)
PF_UNSPEC, pipe_frontend2engine) == -1)
PF_UNSPEC, pipe_main2frontend) == -1)
PF_UNSPEC, pipe_main2engine) == -1)
PF_UNSPEC, pipe_frontend2engine) == -1)
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, fds) == -1)
PF_UNSPEC, fds) == -1)
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, p) != 0)
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, socks) == -1) {
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, socks) == -1)
PF_UNSPEC, pipe_main2frontend) == -1)
PF_UNSPEC, pipe_main2engine) == -1)
PF_UNSPEC, pipe_frontend2engine) == -1)
PF_UNSPEC, pipe_main2frontend) == -1)
PF_UNSPEC, pipe_main2resolver) == -1)
PF_UNSPEC, pipe_frontend2resolver) == -1)
if (family == PF_UNSPEC)
if (family == PF_UNSPEC)
int pf = PF_UNSPEC;
if (pf == PF_UNSPEC) {
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pair) != 0)
hints.ai_family = PF_UNSPEC;
int family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s) == -1) {
hints.ai_family = v4only ? PF_INET : PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
ai->ai_protocol = PF_UNSPEC;
int family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_fd) != 0) {
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, out) != 0)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pair) != 0)
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, pipe) == -1)
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, pipe_parent2dvmrpe) == -1)
PF_UNSPEC, pipe_parent2rde) == -1)
PF_UNSPEC, pipe_dvmrpe2rde) == -1)
PF_UNSPEC, pipe_parent2eigrpe) == -1)
PF_UNSPEC, pipe_parent2rde) == -1)
PF_UNSPEC, pipe_eigrpe2rde) == -1)
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, socks) == -1)
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, fds) == -1)
PF_UNSPEC, fds) == -1)
PF_UNSPEC, pair) == -1)
hints.ai_family = PF_UNSPEC;
addrinfo_opts.af = PF_UNSPEC;
addrinfo_opts.af = PF_UNSPEC;
if (addrinfo_opts.af != PF_UNSPEC) {
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, pipe_parent2ldap) != 0)
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, pipe_parent2ldpe) == -1)
PF_UNSPEC, pipe_parent2lde) == -1)
PF_UNSPEC, pipe_ldpe2lde) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM|SOCK_NONBLOCK, PF_UNSPEC, sp) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM|SOCK_NONBLOCK, PF_UNSPEC, sp) == -1) {
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
finet = socksetup(PF_UNSPEC, options, port);
hints.ai_family = PF_UNSPEC;
hint.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pairsock) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, PF_UNSPEC,
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, PF_UNSPEC,
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, pipe_parent2ospfe) == -1)
PF_UNSPEC, pipe_parent2rde) == -1)
PF_UNSPEC, pipe_ospfe2rde) == -1)
PF_UNSPEC, pipe_parent2ospfe) == -1)
PF_UNSPEC, pipe_parent2rde) == -1)
PF_UNSPEC, pipe_ospfe2rde) == -1)
PF_UNSPEC, pipe_main2frontend) == -1)
PF_UNSPEC, pipe_main2engine) == -1)
PF_UNSPEC, pipe_frontend2engine) == -1)
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pairsock) == -1) {
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, PF_UNSPEC,
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, PF_UNSPEC,
int family = PF_UNSPEC;
PF_UNSPEC, fds) == -1)
PF_UNSPEC, fds) == -1)
PF_UNSPEC, pipe_parent2ripe) == -1)
PF_UNSPEC, pipe_parent2rde) == -1)
PF_UNSPEC, pipe_ripe2rde) == -1)
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, p) != 0) {
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s_in) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s_out) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s_err) == -1)
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1)
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1)
if (text_to_sockaddr((struct sockaddr *)&res->u.u_ss, PF_UNSPEC, str) == 0)
case PF_UNSPEC:
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fd))
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1) {
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, errfd) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, sp) == -1)
PF_UNSPEC, line) == -1)
PF_UNSPEC, key) == -1)
case PF_UNSPEC:
hints.ai_family = PF_UNSPEC;
PF_UNSPEC, fds) == -1)
PF_UNSPEC, fds) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, s) == -1) {
hints.ai_family = PF_UNSPEC;
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, socks) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, fd) == -1) {
int Family = PF_UNSPEC; /* protocol family, may disable IPv4 or IPv6 */
if (socketpair(AF_UNIX, SOCK_DGRAM, PF_UNSPEC, pair) == -1) {
if (socketpair(AF_LOCAL, SOCK_STREAM, PF_UNSPEC, socks) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC, pair)
PF_UNSPEC, fds) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC,
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC,
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC, fds)
if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, pipe_dns) == -1)
if (socketpair(AF_UNIX, SOCK_STREAM | SOCK_NONBLOCK, PF_UNSPEC,
hints.ai_family = PF_UNSPEC;