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

1234567

/freebsd-10-stable/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c67 hints.ai_socktype = socktype;
71 hints.ai_socktype = hstp->socktype;
H A Dgetaddrinfo-test.c79 hints.ai_socktype = socktype;
101 r->ai_family, r->ai_socktype, r->ai_protocol,
H A Dgetnameinfo_verified.c73 hints.ai_socktype = SOCK_STREAM;
H A Dmini_inetd.c110 fds[i] = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
184 hints.ai_socktype = SOCK_STREAM;
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c87 printf("%ssocktype %d%s", start, res->ai_socktype, end);
122 ai.ai_socktype = SOCK_DGRAM;
134 ai.ai_socktype = SOCK_RAW;
137 ai.ai_socktype = atoi(optarg);
140 ai.ai_socktype = SOCK_STREAM;
H A Dsock_raw_v4.exp8 servname not supported for ai_socktype
10 servname not supported for ai_socktype
H A Dsock_raw_v4v6.exp10 servname not supported for ai_socktype
12 servname not supported for ai_socktype
/freebsd-10-stable/contrib/netbsd-tests/net/net/
H A Dt_udp.c27 hints.ai_socktype = SOCK_DGRAM;
36 S = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
45 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-10-stable/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c60 hints.ai_socktype = SOCK_DGRAM;
80 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
101 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-10-stable/contrib/ldns/compat/
H A Dfake-rfc2553.c140 if (hints->ai_socktype)
141 ai->ai_socktype = hints->ai_socktype;
143 ai->ai_socktype = SOCK_STREAM;
/freebsd-10-stable/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c143 if (hints->ai_socktype)
144 ai->ai_socktype = hints->ai_socktype;
146 ai->ai_socktype = SOCK_STREAM;
/freebsd-10-stable/contrib/unbound/compat/
H A Dfake-rfc2553.c136 if (hints->ai_socktype)
137 ai->ai_socktype = hints->ai_socktype;
139 ai->ai_socktype = SOCK_STREAM;
/freebsd-10-stable/contrib/bsnmp/lib/
H A Dsupport.h56 int ai_socktype; member in struct:addrinfo
H A Dsupport.c148 (*res)->ai_socktype = hints->ai_socktype;
/freebsd-10-stable/crypto/heimdal/lib/ipc/
H A Dts-http.c83 hints.ai_socktype = SOCK_STREAM;
90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-10-stable/contrib/llvm/tools/lldb/source/Host/common/
H A DSocketAddress.cpp212 int ai_socktype,
219 hints.ai_socktype = ai_socktype;
209 getaddrinfo(const char *host, const char *service, int ai_family, int ai_socktype, int ai_protocol, int ai_flags) argument
/freebsd-10-stable/usr.bin/finger/
H A Dnet.c78 hint.ai_socktype = SOCK_STREAM;
117 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
119 warn("socket(%d, %d, %d)", ai->ai_family, ai->ai_socktype,
/freebsd-10-stable/contrib/ntp/libntp/
H A Dntp_rfc2553.c243 "servname not supported for ai_socktype", /* EAI_SERVICE */
244 "ai_socktype not supported", /* EAI_SOCKTYPE */
308 ai->ai_socktype = hints->ai_socktype;
312 socktype = hints->ai_socktype;
318 switch (hints->ai_socktype) {
329 switch (hints->ai_socktype) {
346 switch (hints->ai_socktype) {
/freebsd-10-stable/contrib/tcpdump/missing/
H A Daddrinfo.h45 #define EAI_SERVICE 9 /* servname not supported for ai_socktype */
46 #define EAI_SOCKTYPE 10 /* ai_socktype not supported */
74 int ai_socktype; /* SOCK_xxx */ member in struct:addrinfo
/freebsd-10-stable/tools/regression/lib/libc/nss/
H A Dtest-getaddr.c102 (ai1->ai_socktype != ai2->ai_socktype) ||
166 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol,
366 if ((ai->ai_socktype != 0) && (ai->ai_socktype != SOCK_STREAM) &&
367 (ai->ai_socktype != SOCK_DGRAM) && (ai->ai_socktype != SOCK_RAW))
/freebsd-10-stable/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c104 ai1->ai_socktype != ai2->ai_socktype ||
165 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol,
359 if (ai->ai_socktype != 0 && ai->ai_socktype != SOCK_STREAM &&
360 ai->ai_socktype != SOCK_DGRAM && ai->ai_socktype != SOCK_RAW)
/freebsd-10-stable/usr.sbin/nfsd/
H A Dnfsd.c289 hints.ai_socktype = SOCK_DGRAM;
308 hints.ai_socktype = SOCK_DGRAM;
327 hints.ai_socktype = SOCK_STREAM;
346 hints.ai_socktype = SOCK_STREAM;
476 hints.ai_socktype = SOCK_DGRAM;
482 ai_udp->ai_socktype,
510 hints.ai_socktype = SOCK_DGRAM;
537 hints.ai_socktype = SOCK_DGRAM;
543 ai_udp6->ai_socktype,
579 hints.ai_socktype
[all...]
/freebsd-10-stable/contrib/traceroute/
H A Das.c74 hints.ai_socktype = SOCK_STREAM;
86 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol);
/freebsd-10-stable/crypto/heimdal/appl/test/
H A Dcommon.c148 hints.ai_socktype = SOCK_STREAM;
162 s = socket (a->ai_family, a->ai_socktype, a->ai_protocol);
/freebsd-10-stable/tools/tools/netrate/netblast/
H A Dnetblast.c155 hints.ai_socktype = SOCK_DGRAM;
196 s = socket(res->ai_family, res->ai_socktype, 0);

Completed in 124 milliseconds

1234567