Searched refs:ai_socktype (Results 1 - 19 of 19) sorted by relevance

/osnet-11/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c148 * structure the three members ai_family, ai_socktype, and
166 * EAI_SERVICE - servname not supported for ai_socktype
167 * EAI_SOCKTYPE - ai_socktype not supported
193 aip->ai_socktype = 0;
241 switch (aip->ai_socktype) {
247 aip->ai_socktype = SOCK_DGRAM;
251 aip->ai_socktype = SOCK_STREAM;
254 aip->ai_socktype = SOCK_RAW;
297 switch (aip->ai_socktype) {
342 if (aip->ai_socktype
[all...]
H A Drexec.c83 hints.ai_socktype = SOCK_STREAM;
97 s = socket(res->ai_addr->sa_family, res->ai_socktype, res->ai_protocol);
H A Drcmd.c135 hints.ai_socktype = SOCK_STREAM;
/osnet-11/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c214 "servname not supported for ai_socktype", /*%< EAI_SERVICE */
215 "ai_socktype not supported", /*%< EAI_SOCKTYPE */
337 pai->ai_socktype = ANY;
383 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) {
391 if (pai->ai_socktype == ex->e_socktype &&
454 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex)))
461 if (pai->ai_socktype == ANY && ex->e_socktype != ANY)
462 pai->ai_socktype = ex->e_socktype;
540 if (!MATCH(pai->ai_socktype, ex->e_socktype,
561 if (pai->ai_socktype
[all...]
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h112 int ai_socktype; /* SOCK_foo */ member in struct:addrinfo
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c52 hints.ai_socktype = SOCK_DGRAM;
H A Dsendto_kdc.c249 if (ai->ai_socktype == SOCK_DGRAM)
251 else if (ai->ai_socktype == SOCK_STREAM)
254 krb5int_buf_add_fmt(&buf, "socktype%d", ai->ai_socktype);
476 addrs.addrs[addr_used].ai->ai_socktype,
671 if (ai->ai_socktype == SOCK_STREAM) {
715 ai->ai_socktype == SOCK_STREAM ? "stream" : "dgram", ai->ai_family);
716 fd = socket(ai->ai_family, ai->ai_socktype, 0);
732 if (ai->ai_socktype == SOCK_STREAM) {
799 if (ai->ai_socktype == SOCK_DGRAM) {
827 hack_ai.ai_socktype
[all...]
H A Dchangepw.c88 a->ai_socktype = sockType;
H A Dlocate_kdc.c299 hint.ai_socktype = socktype;
388 x->ai.ai_socktype = socktype;
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c440 if (hint->ai_socktype)
441 fprintf(stderr, " SOCK_%s", socktypename(hint->ai_socktype, buf,
463 fprintf(stderr, " socktype=%s", socktypename(ai->ai_socktype, buf,
692 myhints.ai_socktype = SOCK_STREAM;
709 or only raw). The RFC 3493 description of ai_socktype
724 Fortunately, it appears that if we specify ai_socktype as
727 although it may not have ai_socktype filled in properly.
860 socktype = hint->ai_socktype;
905 template.ai_socktype = socktype;
1053 case EAI_SOCKTYPE: return "ai_socktype no
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dio.c115 int ai_socktype; member in struct:addrinfo
147 switch (hint->ai_socktype)
233 hint.ai_socktype = SOCK_STREAM;
244 hint.ai_socktype = SOCK_STREAM;
253 hint.ai_socktype = SOCK_DGRAM;
291 if (!p->ai_socktype)
292 p->ai_socktype = hint.ai_socktype;
293 while ((fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) >= 0)
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_ctx.c734 hints.ai_socktype = SOCK_STREAM;
H A Dsmbfs_nbns_rq.c150 nai->ai_socktype = SOCK_STREAM;
/osnet-11/usr/src/lib/libsuri/common/
H A Dsuri_aux.c744 hints.ai_socktype = SOCK_STREAM;
H A Dsuri_iscsi.c615 hints.ai_socktype = SOCK_STREAM;
/osnet-11/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c502 hints.ai_socktype = SOCK_DGRAM; /*dummy*/
/osnet-11/usr/src/lib/libsasl/plugin/
H A Dplugin_common.c206 hints.ai_socktype = SOCK_STREAM;
/osnet-11/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c539 hints.ai_socktype = SOCK_STREAM;
/osnet-11/usr/src/lib/libsasl/lib/
H A Dcommon.c2398 hints.ai_socktype = SOCK_STREAM;

Completed in 87 milliseconds