Home
last modified time | relevance | path

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

12345678

/NextBSD/contrib/netbsd-tests/lib/libc/net/getaddrinfo/
HDh_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()
HDsock_raw_v4.exp8 servname not supported for ai_socktype
10 servname not supported for ai_socktype
HDsock_raw_v4v6.exp10 servname not supported for ai_socktype
12 servname not supported for ai_socktype
/NextBSD/usr.sbin/nfsd/
HDnfsd.c278 hints.ai_socktype = SOCK_DGRAM; in main()
297 hints.ai_socktype = SOCK_DGRAM; in main()
316 hints.ai_socktype = SOCK_STREAM; in main()
335 hints.ai_socktype = SOCK_STREAM; in main()
431 hints.ai_socktype = SOCK_DGRAM; in main()
437 ai_udp->ai_socktype, in main()
465 hints.ai_socktype = SOCK_DGRAM; in main()
492 hints.ai_socktype = SOCK_DGRAM; in main()
498 ai_udp6->ai_socktype, in main()
534 hints.ai_socktype = SOCK_DGRAM; in main()
[all …]
/NextBSD/contrib/netbsd-tests/fs/nfs/nfsservice/
HDnfsd.c238 hints.ai_socktype = SOCK_DGRAM;
264 hints.ai_socktype = SOCK_STREAM;
290 hints.ai_socktype = SOCK_DGRAM;
316 hints.ai_socktype = SOCK_STREAM;
347 if ((sock = rump_sys_socket(ai_udp->ai_family, ai_udp->ai_socktype,
372 if ((sock = rump_sys_socket(ai_udp6->ai_family, ai_udp6->ai_socktype,
406 if ((tcpsock = rump_sys_socket(ai_tcp->ai_family, ai_tcp->ai_socktype,
434 if ((tcp6sock = socket(ai_tcp6->ai_family, ai_tcp6->ai_socktype,
/NextBSD/contrib/ntp/libntp/
HDntp_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()
/NextBSD/crypto/openssh/openbsd-compat/
HDfake-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()
/NextBSD/contrib/unbound/compat/
HDfake-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()
/NextBSD/contrib/ldns/compat/
HDfake-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()
/NextBSD/lib/libc/tests/nss/
HDgetaddrinfo_test.c104 ai1->ai_socktype != ai2->ai_socktype || in compare_addrinfo_()
164 ai->ai_flags, ai->ai_family, ai->ai_socktype, ai->ai_protocol, in sdump_addrinfo()
359 if (ai->ai_socktype != 0 && ai->ai_socktype != SOCK_STREAM && in addrinfo_test_correctness()
360 ai->ai_socktype != SOCK_DGRAM && ai->ai_socktype != SOCK_RAW) in addrinfo_test_correctness()
/NextBSD/contrib/netbsd-tests/net/sys/
HDt_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()
/NextBSD/contrib/netbsd-tests/net/net/
HDt_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()
/NextBSD/usr.bin/finger/
HDnet.c78 hint.ai_socktype = SOCK_STREAM; in netfinger()
117 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in do_protocol()
119 warn("socket(%d, %d, %d)", ai->ai_family, ai->ai_socktype, in do_protocol()
/NextBSD/crypto/heimdal/lib/roken/
HDgetaddrinfo_hostspec.c67 hints.ai_socktype = socktype; in roken_getaddrinfo_hostspec2()
71 hints.ai_socktype = hstp->socktype; in roken_getaddrinfo_hostspec2()
HDgetaddrinfo-test.c79 hints.ai_socktype = socktype; in doit()
101 r->ai_family, r->ai_socktype, r->ai_protocol, in doit()
/NextBSD/usr.sbin/lpr/common_source/
HDnet.c102 hints.ai_socktype = SOCK_STREAM; in getport()
205 hints.ai_socktype = SOCK_STREAM; in checkremote()
217 hints.ai_socktype = SOCK_STREAM; in checkremote()
/NextBSD/contrib/ntp/sntp/libevent/
HDevutil.c803 if (hints->ai_socktype == 0 && hints->ai_protocol == 0) { in evutil_new_addrinfo_()
808 tmp.ai_socktype = SOCK_STREAM; tmp.ai_protocol = IPPROTO_TCP; in evutil_new_addrinfo_()
812 tmp.ai_socktype = SOCK_DGRAM; tmp.ai_protocol = IPPROTO_UDP; in evutil_new_addrinfo_()
832 res->ai_socktype = hints->ai_socktype; in evutil_new_addrinfo_()
920 if (!hints->ai_protocol && hints->ai_socktype) { in evutil_getaddrinfo_infer_protocols()
921 if (hints->ai_socktype == SOCK_DGRAM) in evutil_getaddrinfo_infer_protocols()
923 else if (hints->ai_socktype == SOCK_STREAM) in evutil_getaddrinfo_infer_protocols()
928 if (!hints->ai_socktype && hints->ai_protocol) { in evutil_getaddrinfo_infer_protocols()
930 hints->ai_socktype = SOCK_DGRAM; in evutil_getaddrinfo_infer_protocols()
932 hints->ai_socktype = SOCK_STREAM; in evutil_getaddrinfo_infer_protocols()
[all …]
/NextBSD/crypto/heimdal/lib/ipc/
HDts-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()
/NextBSD/contrib/llvm/tools/lldb/source/Host/common/
HDSocketAddress.cpp286 int ai_socktype, in getaddrinfo() argument
295 hints.ai_socktype = ai_socktype; in getaddrinfo()
/NextBSD/crypto/heimdal/lib/krb5/
HDverify_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()
/NextBSD/lib/libc/nls/
HDja_JP.eucJP.msg281 9 �����ӥ�̾�� ai_socktype ���Ф��ƥ��ݡ��Ȥ���ޤ���
283 10 ai_socktype �ϥ��ݡ��Ȥ���ޤ���
HDko_KR.eucKR.msg281 9 ���� �̸��� ai_socktype���� �������� �ʽ��ϴ�
283 10 �������� �ʴ� ai_socktype�Դϴ�
HDja_JP.UTF-8.msg281 9 サービス名は ai_socktype に対してサポートされません
283 10 ai_socktype はサポートされません
HDko_KR.UTF-8.msg281 9 서비스 이름은 ai_socktype에서 지원되지 않습니다
283 10 지원되지 않는 ai_socktype입니다
/NextBSD/lib/libc/net/
HDgetaddrinfo.c419 pai->ai_socktype = ANY; in getaddrinfo()
452 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) { in getaddrinfo()
457 if (!MATCH(pai->ai_socktype, ex->e_socktype, in getaddrinfo()
583 if (!MATCH(pai->ai_socktype, ex->e_socktype, in getaddrinfo()
592 if (pai->ai_socktype == ANY && ex->e_socktype != ANY) in getaddrinfo()
593 pai->ai_socktype = ex->e_socktype; in getaddrinfo()
870 ai.ai_socktype = SOCK_DGRAM; in set_source()
879 if ((s = _socket(ai.ai_family, ai.ai_socktype | SOCK_CLOEXEC, in set_source()
1157 cur->ai_next->ai_socktype = pai->ai_socktype; in explore_copy()
1490 switch (ai->ai_socktype) { in get_port()
[all …]

12345678