Searched refs:ai_family (Results 51 - 75 of 268) sorted by relevance

1234567891011

/netbsd-current/external/bsd/ntp/dist/include/
H A Dntp_rfc2553.h187 int ai_family; /* PF_xxx */ member in struct:addrinfo
203 #define EAI_FAMILY 5 /* ai_family not supported */
/netbsd-current/external/mit/libuv/dist/docs/code/dns/
H A Dmain.c66 hints.ai_family = PF_INET;
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/
H A Dgdbreplay.cc176 hint.ai_family = AF_UNSPEC;
213 tmp_desc = socket (p->ai_family, p->ai_socktype, p->ai_protocol);
227 switch (p->ai_family)
236 fprintf (stderr, "Invalid 'ai_family' %d\n", p->ai_family);
/netbsd-current/external/gpl3/gdb/dist/gdbserver/
H A Dgdbreplay.cc138 hint.ai_family = AF_UNSPEC;
175 tmp_desc = socket (p->ai_family, p->ai_socktype, p->ai_protocol);
189 switch (p->ai_family)
198 fprintf (stderr, "Invalid 'ai_family' %d\n", p->ai_family);
/netbsd-current/external/bsd/nsd/dist/compat/
H A Dfake-rfc2553.h36 * that ai_family is AF_INET. Don't use it for another purpose.
145 int ai_family; /* PF_xxx */ member in struct:addrinfo
/netbsd-current/usr.bin/whois/
H A Dwhois.c188 hints.ai_family = AF_UNSPEC;
200 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
310 hints.ai_family = AF_UNSPEC;
/netbsd-current/external/bsd/libpcap/dist/
H A Dsockutils.c411 return addr_a->info->ai_family - addr_b->info->ai_family;
427 return addr_a->info->ai_family - addr_b->info->ai_family;
443 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype,
565 if (addrinfo->ai_family == PF_INET6)
676 current_af != tempaddrinfo->ai_family)
1156 if (((*addrinfo)->ai_family != PF_INET) &&
1157 ((*addrinfo)->ai_family != PF_INET6))
1766 hints.ai_family
[all...]
/netbsd-current/lib/libwrap/
H A Dhosts_access.c478 hints.ai_family = PF_UNSPEC;
492 hints.ai_family = net.sa.sa_family;
497 if (res->ai_family == AF_INET6 &&
537 hints.ai_family = PF_UNSPEC;
546 if (net.sa.sa_family == AF_INET && res->ai_family == AF_INET6 &&
/netbsd-current/external/mpl/bind/dist/bin/check/
H A Dcheck-tool.c187 hints.ai_family = PF_UNSPEC;
262 if (cur->ai_family != AF_INET) {
295 if (cur->ai_family != AF_INET6) {
327 switch (cur->ai_family) {
363 inet_ntop(cur->ai_family, ptr,
390 hints.ai_family = PF_UNSPEC;
477 hints.ai_family = PF_UNSPEC;
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/
H A Devutil.c832 res->ai_family = sa->sa_family; /* Same or not? XXX */
970 if (hints->ai_family != PF_UNSPEC && hints->ai_family != PF_INET &&
971 hints->ai_family != PF_INET6)
991 if (hints->ai_family != PF_INET) { /* INET6 or UNSPEC. */
1008 if (hints->ai_family != PF_INET6) { /* INET or UNSPEC */
1034 if (hints->ai_family == PF_INET6 || hints->ai_family == PF_UNSPEC) {
1050 if (hints->ai_family == PF_INET || hints->ai_family
[all...]
H A Dhttp-internal.h105 int ai_family; member in struct:evhttp_connection
/netbsd-current/external/bsd/libevent/dist/
H A Devutil.c869 res->ai_family = sa->sa_family; /* Same or not? XXX */
1008 if (hints->ai_family != PF_UNSPEC && hints->ai_family != PF_INET &&
1009 hints->ai_family != PF_INET6)
1029 if (hints->ai_family != PF_INET) { /* INET6 or UNSPEC. */
1046 if (hints->ai_family != PF_INET6) { /* INET or UNSPEC */
1072 if (hints->ai_family == PF_INET6 || hints->ai_family == PF_UNSPEC) {
1090 if (hints->ai_family == PF_INET || hints->ai_family
[all...]
H A Dhttp-internal.h105 int ai_family; member in struct:evhttp_connection
/netbsd-current/external/bsd/unbound/dist/services/
H A Dlisten_dnsport.c120 if(addr->ai_family == AF_INET6)
124 if(inet_ntop(addr->ai_family, sinaddr, buf,
132 addr->ai_family==AF_INET?"4":
133 addr->ai_family==AF_INET6?"6":
696 && (s = systemd_get_activated(addr->ai_family, addr->ai_socktype, 1,
702 if((s = socket(addr->ai_family, addr->ai_socktype, 0)) == -1) {
790 if(addr->ai_family == AF_INET6 && v6only
818 setsockopt(s, (addr->ai_family==AF_INET6? IPPROTO_IPV6:IPPROTO_IP),
819 (addr->ai_family == AF_INET6? IPV6_BINDANY:IP_BINDANY),
822 (addr->ai_family
[all...]
/netbsd-current/external/bsd/ntp/dist/sntp/libevent/test/
H A Dregress_dns.c1239 hints.ai_family = AF_INET;
1344 hints.ai_family = PF_UNSPEC;
1361 hints.ai_family = PF_UNSPEC;
1373 hints.ai_family = PF_UNSPEC;
1388 hints.ai_family = PF_UNSPEC;
1406 hints.ai_family = PF_UNSPEC;
1428 hints.ai_family = PF_UNSPEC;
1449 hints.ai_family = PF_UNSPEC;
1470 hints.ai_family = PF_INET6;
1494 hints.ai_family
[all...]
/netbsd-current/usr.sbin/lpr/common_source/
H A Dcommon.c157 hints.ai_family = PF_UNSPEC;
173 s = rresvport_af(&lport, r->ai_family);
382 hints.ai_family = PF_UNSPEC;
/netbsd-current/crypto/external/bsd/netpgp/dist/src/hkpclient/
H A Dhkpc.c54 hints.ai_family = (fam == 4) ? PF_INET : PF_INET6;
/netbsd-current/external/gpl2/xcvs/dist/lib/
H A Dgetaddrinfo.c76 if (hints && !validate_family (hints->ai_family))
/netbsd-current/tests/net/mcast/
H A Dmcast.c100 switch (ai->ai_family) {
161 if (ai->ai_family != AF_INET6)
197 hints.ai_family = AF_UNSPEC;
206 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/unittests/
H A Dparse-connection-spec-selftests.c226 SELF_CHECK (hint.ai_family == c.exp_ai_family);
/netbsd-current/crypto/external/bsd/openssl.old/dist/crypto/bio/
H A Dbio_local.h58 # define bai_family ai_family
/netbsd-current/crypto/external/bsd/openssl/dist/crypto/bio/
H A Dbio_local.h57 # define bai_family ai_family
/netbsd-current/external/gpl3/gdb/dist/gdb/unittests/
H A Dparse-connection-spec-selftests.c226 SELF_CHECK (hint.ai_family == c.exp_ai_family);
/netbsd-current/external/bsd/nsd/dist/
H A Dnsd.c186 if (nsd.verify_udp[i].addr.ai_family == AF_INET6 && !ip6) {
195 assert(nsd.verify_udp[i].addr.ai_family == AF_INET);
214 dest->ai_family = src->ai_family;
335 if (hints->ai_family == AF_UNSPEC) {
336 ai[0].ai_family = AF_INET6;
337 ai[1].ai_family = AF_INET6;
349 if(hints->ai_family == AF_UNSPEC) {
387 ai[0].ai_family = AF_INET;
388 ai[1].ai_family
[all...]
/netbsd-current/external/mpl/dhcp/bind/dist/lib/irs/
H A Dgetaddrinfo.c33 * int ai_family; // PF_xxx
50 * <li>ai_family:
51 * The protocol family that should be used. When ai_family is set
99 * NULL pointer is encountered. The three members ai_family, ai_socktype,
269 family = hints->ai_family;
514 if (ai->ai_family == AF_INET6) {
593 int ai_family; member in struct:gai_statehead
640 if (head->ai_family == AF_UNSPEC || head->ai_family == AF_INET) {
643 if (head->ai_family
[all...]

Completed in 263 milliseconds

1234567891011