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

12345678

/freebsd-11-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-11-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-11-stable/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c74 hints.ai_socktype = 0;
115 if (!parse_socktype(optarg, &hints.ai_socktype)) {
272 if ((ai->ai_socktype >= 0) &&
273 ((size_t)ai->ai_socktype < __arraycount(socket_types)) &&
274 (socket_types[ai->ai_socktype] != NULL))
275 n = printf("%s", socket_types[ai->ai_socktype]);
277 n = printf("%d", ai->ai_socktype);
/freebsd-11-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-11-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-11-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-11-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-11-stable/contrib/bsnmp/lib/
H A Dsupport.h56 int ai_socktype; member in struct:addrinfo
/freebsd-11-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-11-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-11-stable/contrib/llvm-project/lldb/source/Host/common/
H A DSocketAddress.cpp209 int ai_family, int ai_socktype, int ai_protocol,
213 auto addresses = GetAddressInfo(host, service, ai_family, ai_socktype,
222 int ai_family, int ai_socktype, int ai_protocol,
229 hints.ai_socktype = ai_socktype;
208 getaddrinfo(const char *host, const char *service, int ai_family, int ai_socktype, int ai_protocol, int ai_flags) argument
221 GetAddressInfo(const char *hostname, const char *servname, int ai_family, int ai_socktype, int ai_protocol, int ai_flags) argument
/freebsd-11-stable/usr.bin/finger/
H A Dnet.c79 hint.ai_socktype = SOCK_STREAM;
118 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol);
120 warn("socket(%d, %d, %d)", ai->ai_family, ai->ai_socktype,
/freebsd-11-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-11-stable/contrib/llvm-project/lldb/include/lldb/Host/
H A DSocketAddress.h39 int ai_socktype, int ai_protocol, int ai_flags = 0);
99 int ai_family = PF_UNSPEC, int ai_socktype = 0,
/freebsd-11-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-11-stable/contrib/ofed/librdmacm/
H A Daddrinfo.c64 ai->ai_socktype = SOCK_STREAM;
67 ai->ai_socktype = SOCK_DGRAM;
80 if (ai->ai_socktype == SOCK_STREAM)
82 else if (ai->ai_socktype == SOCK_DGRAM)
153 switch (ai->ai_socktype) {
/freebsd-11-stable/usr.sbin/nfsd/
H A Dnfsd.c290 hints.ai_socktype = SOCK_DGRAM;
314 hints.ai_socktype = SOCK_DGRAM;
338 hints.ai_socktype = SOCK_STREAM;
362 hints.ai_socktype = SOCK_STREAM;
461 hints.ai_socktype = SOCK_DGRAM;
467 ai_udp->ai_socktype,
495 hints.ai_socktype = SOCK_DGRAM;
527 hints.ai_socktype = SOCK_DGRAM;
533 ai_udp6->ai_socktype,
569 hints.ai_socktype
[all...]
/freebsd-11-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-11-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-11-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 147 milliseconds

12345678