Home
last modified time | relevance | path

Searched refs:ai_socktype (Results 1 – 25 of 225) sorted by relevance

123456789

/freebsd/usr.bin/getaddrinfo/
H A Dgetaddrinfo.c71 hints.ai_socktype = 0; in main()
112 if (!parse_socktype(optarg, &hints.ai_socktype)) { in main()
269 if ((ai->ai_socktype >= 0) && in printaddrinfo()
270 ((size_t)ai->ai_socktype < __arraycount(socket_types)) && in printaddrinfo()
271 (socket_types[ai->ai_socktype] != NULL)) in printaddrinfo()
272 n = printf("%s", socket_types[ai->ai_socktype]); in printaddrinfo()
274 n = printf("%d", ai->ai_socktype); in printaddrinfo()
/freebsd/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
H A Dh_gai.c87 printf("%ssocktype %d%s", start, res->ai_socktype, end); in print1()
122 ai.ai_socktype = SOCK_DGRAM; in main()
134 ai.ai_socktype = SOCK_RAW; in main()
137 ai.ai_socktype = atoi(optarg); in main()
140 ai.ai_socktype = SOCK_STREAM; in main()
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/contrib/ntp/libntp/
H A Dntp_rfc2553.c308 ai->ai_socktype = hints->ai_socktype; in getaddrinfo()
312 socktype = hints->ai_socktype; in getaddrinfo()
318 switch (hints->ai_socktype) { in getaddrinfo()
329 switch (hints->ai_socktype) { in getaddrinfo()
346 switch (hints->ai_socktype) { in getaddrinfo()
/freebsd/contrib/unbound/compat/
H A Dfake-rfc2553.c136 if (hints->ai_socktype) in malloc_ai()
137 ai->ai_socktype = hints->ai_socktype; in malloc_ai()
139 ai->ai_socktype = SOCK_STREAM; in malloc_ai()
/freebsd/crypto/openssh/openbsd-compat/
H A Dfake-rfc2553.c143 if (hints->ai_socktype) in malloc_ai()
144 ai->ai_socktype = hints->ai_socktype; in malloc_ai()
146 ai->ai_socktype = SOCK_STREAM; in malloc_ai()
/freebsd/contrib/ldns/compat/
H A Dfake-rfc2553.c140 if (hints->ai_socktype) in malloc_ai()
141 ai->ai_socktype = hints->ai_socktype; in malloc_ai()
143 ai->ai_socktype = SOCK_STREAM; in malloc_ai()
/freebsd/usr.sbin/nfsd/
H A Dnfsd.c324 hints.ai_socktype = SOCK_DGRAM; in main()
348 hints.ai_socktype = SOCK_DGRAM; in main()
372 hints.ai_socktype = SOCK_STREAM; in main()
396 hints.ai_socktype = SOCK_STREAM; in main()
510 hints.ai_socktype = SOCK_DGRAM; in main()
516 ai_udp->ai_socktype, in main()
544 hints.ai_socktype = SOCK_DGRAM; in main()
582 hints.ai_socktype = SOCK_DGRAM; in main()
588 ai_udp6->ai_socktype, in main()
624 hints.ai_socktype = SOCK_DGRAM; in main()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DSocketAddress.cpp211 int ai_family, int ai_socktype, int ai_protocol, in getaddrinfo()
215 auto addresses = GetAddressInfo(host, service, ai_family, ai_socktype, in getaddrinfo()
224 int ai_family, int ai_socktype, int ai_protocol, in GetAddressInfo()
231 hints.ai_socktype = ai_socktype; in GetAddressInfo()
209 getaddrinfo(const char * host,const char * service,int ai_family,int ai_socktype,int ai_protocol,int ai_flags) getaddrinfo() argument
222 GetAddressInfo(const char * hostname,const char * servname,int ai_family,int ai_socktype,int ai_protocol,int ai_flags) GetAddressInfo() argument
/freebsd/lib/libc/tests/nss/
H A Dgetaddrinfo_test.c101 ai1->ai_socktype != ai2->ai_socktype || in compare_addrinfo_()
162 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in sdump_addrinfo()
356 if (ai->ai_socktype != 0 && ai->ai_socktype != SOCK_STREAM && in addrinfo_test_correctness()
357 ai->ai_socktype != SOCK_DGRAM && ai->ai_socktype != SOCK_RAW) in addrinfo_test_correctness()
/freebsd/contrib/netbsd-tests/net/net/
H A Dt_udp.c27 hints.ai_socktype = SOCK_DGRAM; in sendit()
36 S = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in sendit()
45 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in sendit()
/freebsd/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c60 hints.ai_socktype = SOCK_DGRAM; in test()
80 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in test()
101 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in test()
/freebsd/contrib/ofed/librdmacm/
H A Daddrinfo.c64 ai->ai_socktype = SOCK_STREAM; in ucma_convert_to_ai()
67 ai->ai_socktype = SOCK_DGRAM; in ucma_convert_to_ai()
80 if (ai->ai_socktype == SOCK_STREAM) in ucma_convert_to_ai()
82 else if (ai->ai_socktype == SOCK_DGRAM) in ucma_convert_to_ai()
153 switch (ai->ai_socktype) { in ucma_convert_to_rai()
/freebsd/usr.bin/finger/
H A Dnet.c72 hint.ai_socktype = SOCK_STREAM; in netfinger()
111 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in do_protocol()
113 warn("socket(%d, %d, %d)", ai->ai_family, ai->ai_socktype, in do_protocol()
/freebsd/crypto/heimdal/lib/roken/
H A Dgetaddrinfo_hostspec.c67 hints.ai_socktype = socktype; in roken_getaddrinfo_hostspec2()
71 hints.ai_socktype = hstp->socktype; in roken_getaddrinfo_hostspec2()
H A Dgetaddrinfo-test.c79 hints.ai_socktype = socktype; in doit()
101 r->ai_family, r->ai_socktype, r->ai_protocol, in doit()
/freebsd/usr.sbin/lpr/common_source/
H A Dnet.c100 hints.ai_socktype = SOCK_STREAM; in getport()
203 hints.ai_socktype = SOCK_STREAM; in checkremote()
215 hints.ai_socktype = SOCK_STREAM; in checkremote()
/freebsd/crypto/heimdal/lib/ipc/
H A Dts-http.c83 hints.ai_socktype = SOCK_STREAM; in setup_sockets()
90 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in setup_sockets()
/freebsd/crypto/heimdal/lib/krb5/
H A Dverify_krb5_conf.c156 hints.ai_socktype = 0; in check_host()
168 hints.ai_socktype = SOCK_STREAM; in check_host()
173 hints.ai_socktype = SOCK_STREAM; in check_host()
178 hints.ai_socktype = SOCK_STREAM; in check_host()
183 hints.ai_socktype = SOCK_DGRAM; in check_host()
187 hints.ai_socktype = SOCK_DGRAM; in check_host()
/freebsd/contrib/ntp/sntp/libevent/
H A Devutil.c838 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo_()
843 tmp.ai_socktype = SOCK_STREAM; tmp.ai_protocol = IPPROTO_TCP; in evutil_new_addrinfo_()
847 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP; in evutil_new_addrinfo_()
867 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo_()
955 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols()
956 if (hints->ai_socktype == SOCK_DGRAM) in evutil_getaddrinfo_infer_protocols()
958 else if (hints->ai_socktype == SOCK_STREAM) in evutil_getaddrinfo_infer_protocols()
963 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols()
965 hints->ai_socktype = SOCK_DGRAM; in evutil_getaddrinfo_infer_protocols()
967 hints->ai_socktype = SOCK_STREAM; in evutil_getaddrinfo_infer_protocols()
[all …]
/freebsd/contrib/libevent/
H A Devutil.c838 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo_()
843 tmp.ai_socktype = SOCK_STREAM; tmp.ai_protocol = IPPROTO_TCP; in evutil_new_addrinfo_()
847 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP; in evutil_new_addrinfo_()
867 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo_()
955 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols()
956 if (hints->ai_socktype == SOCK_DGRAM) in evutil_getaddrinfo_infer_protocols()
958 else if (hints->ai_socktype == SOCK_STREAM) in evutil_getaddrinfo_infer_protocols()
963 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols()
965 hints->ai_socktype = SOCK_DGRAM; in evutil_getaddrinfo_infer_protocols()
967 hints->ai_socktype = SOCK_STREAM; in evutil_getaddrinfo_infer_protocols()
[all …]
/freebsd/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/lib/libc/nls/
H A Dja_JP.UTF-8.msg280 9 サービス名は ai_socktype に対してサポートされません
282 10 ai_socktype はサポートされません
H A Dja_JP.eucJP.msg280 9 �����ӥ�̾�� ai_socktype ���Ф��ƥ��ݡ��Ȥ���ޤ���
282 10 ai_socktype �ϥ��ݡ��Ȥ���ޤ���

123456789