/openbsd/regress/lib/libc/getaddrinfo/ |
H A D | gaitest.c | 96 printf("%ssocktype %d%s", start, res->ai_socktype, end); 131 ai.ai_socktype = SOCK_DGRAM; 143 ai.ai_socktype = SOCK_RAW; 146 ai.ai_socktype = atoi(optarg); 149 ai.ai_socktype = SOCK_STREAM;
|
/openbsd/regress/sys/kern/sosplice/perf/ |
H A D | relay.c | 139 ls[nls] = socket(res->ai_family, res->ai_socktype, in socket_listen() 160 if (hints->ai_socktype == SOCK_STREAM) { in socket_listen() 245 cs = socket(res->ai_family, res->ai_socktype, in socket_connect() 312 hints.ai_socktype = SOCK_STREAM; in main() 326 hints.ai_socktype = SOCK_STREAM; in main() 329 hints.ai_socktype = SOCK_DGRAM; in main() 346 if (hints.ai_socktype == SOCK_STREAM) { in main() 362 if (hints.ai_socktype == SOCK_STREAM) { in main()
|
/openbsd/regress/lib/libc/asr/bin/ |
H A D | getaddrinfo.c | 99 hints.ai_socktype = SOCK_STREAM; in main() 101 hints.ai_socktype = SOCK_DGRAM; in main() 103 hints.ai_socktype = SOCK_RAW; in main()
|
/openbsd/regress/sys/netinet/ipsec/ |
H A D | nonxt-sendrecv.c | 70 hints.ai_socktype = SOCK_RAW; in main() 76 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main() 97 hints.ai_socktype = SOCK_RAW; in main()
|
H A D | nonxt-reflect.c | 64 hints.ai_socktype = SOCK_RAW; in main() 71 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
/openbsd/gnu/llvm/lldb/source/Host/common/ |
H A D | SocketAddress.cpp | 209 int ai_family, int ai_socktype, int ai_protocol, in getaddrinfo() argument 213 auto addresses = GetAddressInfo(host, service, ai_family, ai_socktype, in getaddrinfo() 222 int ai_family, int ai_socktype, int ai_protocol, in GetAddressInfo() argument 229 hints.ai_socktype = ai_socktype; in GetAddressInfo()
|
H A D | UDPSocket.cpp | 74 hints.ai_socktype = kType; in Connect() 92 service_info_ptr->ai_family, service_info_ptr->ai_socktype, in Connect()
|
/openbsd/regress/sys/netinet6/srcaddr/ |
H A D | srcaddr.c | 59 hints.ai_socktype = SOCK_DGRAM; in main() 64 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in main()
|
/openbsd/usr.sbin/lpr/lpd/ |
H A D | allowedhost.c | 147 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in checkhost() 199 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in gethostloop() 236 hints.ai_socktype = SOCK_STREAM; in main()
|
/openbsd/usr.sbin/radiusd/ |
H A D | util.c | 66 hints.ai_socktype = SOCK_STREAM; in addrport_parse() 69 hints.ai_socktype = SOCK_DGRAM; in addrport_parse()
|
/openbsd/usr.sbin/rdate/ |
H A D | rfc868time.c | 73 hints.ai_socktype = SOCK_STREAM; in rfc868time_client() 85 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in rfc868time_client()
|
/openbsd/usr.bin/finger/ |
H A D | net.c | 64 hints.ai_socktype = SOCK_STREAM; in netfinger() 73 if ((s = socket(res->ai_family, res->ai_socktype, in netfinger()
|
/openbsd/regress/usr.bin/nc/ |
H A D | client-tcp.c | 101 hints.ai_socktype = SOCK_STREAM; in connect_socket() 107 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in connect_socket()
|
H A D | server-tcp.c | 115 hints.ai_socktype = SOCK_STREAM; in listen_socket() 121 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in listen_socket()
|
/openbsd/regress/sys/net/pflow/ |
H A D | gen_traffic.c | 93 hints.ai_socktype = SOCK_STREAM; in main() 97 s = socket(server_res->ai_family, server_res->ai_socktype, in main() 118 s = socket(sender_res->ai_family, sender_res->ai_socktype, in main()
|
/openbsd/lib/libc/asr/ |
H A D | getaddrinfo_async.c | 176 if (ai->ai_socktype && in getaddrinfo_async_run() 177 ai->ai_socktype != SOCK_DGRAM && in getaddrinfo_async_run() 178 ai->ai_socktype != SOCK_STREAM && in getaddrinfo_async_run() 179 ai->ai_socktype != SOCK_RAW) { in getaddrinfo_async_run() 185 if (ai->ai_socktype == SOCK_RAW && in getaddrinfo_async_run() 205 MATCH_SOCKTYPE(ai->ai_socktype, i) && in getaddrinfo_async_run() 550 !MATCH_SOCKTYPE(as->as.ai.hints.ai_socktype, i) || in addrinfo_add() 573 ai->ai_socktype = matches[i].socktype; in addrinfo_add()
|
/openbsd/lib/libcrypto/bio/ |
H A D | b_sock.c | 43 .ai_socktype = SOCK_STREAM, in BIO_get_host_ip() 73 .ai_socktype = SOCK_STREAM, in BIO_get_port() 132 .ai_socktype = SOCK_STREAM, in BIO_get_accept_socket()
|
/openbsd/gnu/llvm/lldb/include/lldb/Host/ |
H A D | SocketAddress.h | 39 int ai_socktype, int ai_protocol, int ai_flags = 0); 99 int ai_family = PF_UNSPEC, int ai_socktype = 0,
|
/openbsd/regress/lib/libcrypto/ocsp/ |
H A D | ocsp_test.c | 36 hints.ai_socktype = SOCK_STREAM; in tcp_connect() 50 sd = socket(r->ai_family, r->ai_socktype, r->ai_protocol); in tcp_connect()
|
/openbsd/usr.sbin/npppd/common/ |
H A D | net_utils.c | 124 hints.ai_socktype = SOCK_STREAM; in addrport_parse() 127 hints.ai_socktype = SOCK_DGRAM; in addrport_parse()
|
/openbsd/usr.sbin/lpd/ |
H A D | resolver.c | 95 m_add_int(p_resolver, hints ? hints->ai_socktype : 0); in resolver_getaddrinfo() 150 m_get_int(proc, &hints.ai_socktype); in resolver_dispatch_request() 243 m_get_int(proc, &ai->ai_socktype); in resolver_dispatch_result() 317 m_add_int(s->proc, ai->ai_socktype); in resolver_getaddrinfo_cb()
|
/openbsd/usr.bin/whois/ |
H A D | whois.c | 178 hints.ai_socktype = SOCK_STREAM; in whois() 189 s = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in whois() 302 hints.ai_socktype = SOCK_STREAM; in choose_server()
|
/openbsd/gnu/llvm/llvm/tools/llvm-jitlink/llvm-jitlink-executor/ |
H A D | llvm-jitlink-executor.cpp | 71 Hints.ai_socktype = SOCK_STREAM; in openListener() 82 if ((SockFD = socket(AI->ai_family, AI->ai_socktype, AI->ai_protocol)) < 0) { in openListener()
|
/openbsd/lib/libc/net/ |
H A D | ruserok.c | 65 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in ruserok() 315 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __icheckhost() 368 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in __gethostloop()
|
/openbsd/usr.sbin/ntpd/ |
H A D | config.c | 66 hints.ai_socktype = SOCK_DGRAM; /*dummy*/ in host_ip() 101 hints.ai_socktype = SOCK_DGRAM; /* DUMMY */ in host_dns1()
|