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

12

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c162 * structure the three members ai_family, ai_socktype, and
180 * EAI_SERVICE - servname not supported for ai_socktype
181 * EAI_SOCKTYPE - ai_socktype not supported
207 aip->ai_socktype = 0;
255 switch (aip->ai_socktype) {
261 aip->ai_socktype = SOCK_DGRAM;
265 aip->ai_socktype = SOCK_STREAM;
268 aip->ai_socktype = SOCK_RAW;
311 switch (aip->ai_socktype) {
356 if (aip->ai_socktype
[all...]
H A Drexec.c91 hints.ai_socktype = SOCK_STREAM;
105 s = socket(res->ai_addr->sa_family, res->ai_socktype, res->ai_protocol);
H A Drcmd.c137 hints.ai_socktype = SOCK_STREAM;
/illumos-gate/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...]
/illumos-gate/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp274 hints.ai_socktype = SOCK_STREAM;
325 addr->ai_family, addr->ai_socktype,
365 addr->ai_family, addr->ai_socktype,
382 hints.ai_socktype = socktype;
487 hints.ai_socktype = socktype;
601 hints.ai_socktype = socktype;
614 hints.ai_socktype = socktype;
670 hints.ai_socktype = socktype;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h112 int ai_socktype; /* SOCK_foo */ member in struct:addrinfo
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Drdate.c127 s = socket(res->ai_addr->sa_family, res->ai_socktype,
H A Dwhois.c227 hints.ai_socktype = SOCK_STREAM;
273 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dhostaddr.c55 hints.ai_socktype = SOCK_DGRAM;
H A Dsendto_kdc.c232 if (ai->ai_socktype == SOCK_DGRAM)
234 else if (ai->ai_socktype == SOCK_STREAM)
237 sprintf(tmpbuf, "socktype%d", ai->ai_socktype);
481 addrs.addrs[addr_used].ai->ai_socktype,
691 if (ai->ai_socktype == SOCK_STREAM) {
740 ai->ai_socktype == SOCK_STREAM ? "stream" : "dgram", ai->ai_family);
741 fd = socket(ai->ai_family, ai->ai_socktype, 0);
749 if (ai->ai_socktype == SOCK_STREAM) {
819 if (ai->ai_socktype == SOCK_DGRAM) {
846 hack_ai.ai_socktype
[all...]
H A Dchangepw.c80 a->ai_socktype = sockType;
H A Dlocate_kdc.c284 hint.ai_socktype = socktype;
362 x->ai.ai_socktype = socktype;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c156 hints.ai_socktype = SOCK_STREAM;
H A Dnbns_rq.c150 nai->ai_socktype = SOCK_STREAM;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c426 if (hint->ai_socktype)
427 fprintf(stderr, " SOCK_%s", socktypename(hint->ai_socktype, buf));
447 fprintf(stderr, " socktype=%s", socktypename(ai->ai_socktype, buf));
672 myhints.ai_socktype = SOCK_STREAM;
689 or only raw). The RFC 3493 description of ai_socktype
704 Fortunately, it appears that if we specify ai_socktype as
707 although it may not have ai_socktype filled in properly.
840 socktype = hint->ai_socktype;
885 template.ai_socktype = socktype;
1032 case EAI_SOCKTYPE: return "ai_socktype no
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c286 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
314 proxyhints.ai_socktype = SOCK_STREAM;
558 if ((s = socket(res0->ai_family, res0->ai_socktype,
570 ahints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM;
633 if ((s = socket(res0->ai_family, res0->ai_socktype,
H A Dsocks.c82 hints.ai_socktype = SOCK_STREAM;
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c112 int ai_socktype; member in struct:addrinfo
144 switch (hint->ai_socktype)
228 hint.ai_socktype = SOCK_STREAM;
239 hint.ai_socktype = SOCK_STREAM;
248 hint.ai_socktype = SOCK_DGRAM;
284 if (!p->ai_socktype)
285 p->ai_socktype = hint.ai_socktype;
286 while ((fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) >= 0)
/illumos-gate/usr/src/head/
H A Dnetdb.h115 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
159 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
160 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
/illumos-gate/usr/src/cmd/vntsd/
H A Dvntsd.c295 hints.ai_socktype = SOCK_STREAM;
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c569 hints.ai_socktype = SOCK_STREAM;
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c624 aip->ai_socktype, aip->ai_protocol)) == -1) {
743 aih.ai_socktype = SOCK_STREAM;
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.routed/
H A Drtquery.c531 hints.ai_socktype = SOCK_DGRAM;
/illumos-gate/usr/src/cmd/krb5/slave/
H A Dkprop.c389 hints.ai_socktype = SOCK_STREAM;
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_init.c491 hints.ai_socktype = SOCK_DGRAM; /*dummy*/

Completed in 95 milliseconds

12