/illumos-gate/usr/src/lib/libsocket/inet/ |
H A D | getaddrinfo.c | 251 aip->ai_socktype = ANY; in _getaddrinfo() 271 switch (aip->ai_socktype) { in _getaddrinfo() 277 aip->ai_socktype = SOCK_DGRAM; in _getaddrinfo() 281 aip->ai_socktype = SOCK_STREAM; in _getaddrinfo() 284 aip->ai_socktype = SOCK_RAW; in _getaddrinfo() 339 switch (aip->ai_socktype) { in _getaddrinfo() 383 if (aip->ai_socktype == ANY) { in _getaddrinfo() 399 if (aip->ai_socktype != ANY) { in _getaddrinfo() 449 if (aip->ai_socktype != ANY) { in _getaddrinfo() 530 nai->ai_socktype = info->si_socktype; in add_address4() [all …]
|
H A D | rexec.c | 89 hints.ai_socktype = SOCK_STREAM; in rexec_af() 103 s = socket(res->ai_addr->sa_family, res->ai_socktype, res->ai_protocol); in rexec_af()
|
H A D | rcmd.c | 137 hints.ai_socktype = SOCK_STREAM; in rcmd_af()
|
/illumos-gate/usr/src/lib/libresolv2/common/irs/ |
H A D | getaddrinfo.c | 337 pai->ai_socktype = ANY; 383 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) { 391 if (pai->ai_socktype == ex->e_socktype && 461 if (pai->ai_socktype == ANY && ex->e_socktype != ANY) 462 pai->ai_socktype = ex->e_socktype; 540 if (!MATCH(pai->ai_socktype, ex->e_socktype, 561 if (pai->ai_socktype == ANY && ex->e_socktype != ANY) 562 pai->ai_socktype = ex->e_socktype; 714 cur->ai_next->ai_socktype = pai->ai_socktype; 1005 switch (ai->ai_socktype) { in get_port() [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | sendto_kdc.c | 232 if (ai->ai_socktype == SOCK_DGRAM) in krb5int_debug_fprint() 234 else if (ai->ai_socktype == SOCK_STREAM) in krb5int_debug_fprint() 237 sprintf(tmpbuf, "socktype%d", ai->ai_socktype); in krb5int_debug_fprint() 481 addrs.addrs[addr_used].ai->ai_socktype, in krb5_sendto_kdc2() 691 if (ai->ai_socktype == SOCK_STREAM) { in setup_connection() 740 ai->ai_socktype == SOCK_STREAM ? "stream" : "dgram", ai->ai_family); in start_connection() 741 fd = socket(ai->ai_family, ai->ai_socktype, 0); in start_connection() 749 if (ai->ai_socktype == SOCK_STREAM) { in start_connection() 819 if (ai->ai_socktype == SOCK_DGRAM) { in start_connection() 846 hack_ai.ai_socktype = SOCK_DGRAM; in start_connection() [all …]
|
H A D | hostaddr.c | 55 hints.ai_socktype = SOCK_DGRAM; in krb5_os_hostaddr()
|
H A D | changepw.c | 80 a->ai_socktype = sockType; in krb5_locate_kpasswd()
|
H A D | locate_kdc.c | 284 hint.ai_socktype = socktype; in krb5int_add_host_to_list() 362 x->ai.ai_socktype = socktype; in module_callback()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/support/ |
H A D | fake-addrinfo.c | 426 if (hint->ai_socktype) in debug_dump_getaddrinfo_args() 427 fprintf(stderr, " SOCK_%s", socktypename(hint->ai_socktype, buf)); in debug_dump_getaddrinfo_args() 447 fprintf(stderr, " socktype=%s", socktypename(ai->ai_socktype, buf)); in debug_dump_addrinfos() 672 myhints.ai_socktype = SOCK_STREAM; in fai_add_hosts_by_name() 840 socktype = hint->ai_socktype; in fake_getaddrinfo() 885 template.ai_socktype = socktype; in fake_getaddrinfo() 1139 socket_type = hint->ai_socktype; in getaddrinfo() 1261 if (socket_type != 0 && ai->ai_socktype == 0) in getaddrinfo() 1263 ai->ai_socktype = socket_type; in getaddrinfo()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/ |
H A D | netcat.c | 285 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in main() 313 proxyhints.ai_socktype = SOCK_STREAM; in main() 558 if ((s = socket(res0->ai_family, res0->ai_socktype, in remote_connect() 570 ahints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in remote_connect() 633 if ((s = socket(res0->ai_family, res0->ai_socktype, in local_listen()
|
H A D | socks.c | 80 hints.ai_socktype = SOCK_STREAM; in decode_addrport()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ |
H A D | whois.c | 227 hints.ai_socktype = SOCK_STREAM; in gethostinfo() 273 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in whois()
|
H A D | rdate.c | 125 s = socket(res->ai_addr->sa_family, res->ai_socktype, in main()
|
/illumos-gate/usr/src/test/smbclient-tests/cmd/abort_conn/ |
H A D | abort_conn.c | 133 hints.ai_socktype = SOCK_STREAM; in main()
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | getaddr.c | 159 hints.ai_socktype = SOCK_STREAM; in smb_ctx_getaddr()
|
H A D | nbns_rq.c | 150 nai->ai_socktype = SOCK_STREAM; in nbns_getaddrinfo()
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/ |
H A D | fake-addrinfo.h | 112 int ai_socktype; /* SOCK_foo */ member
|
/illumos-gate/usr/src/head/ |
H A D | netdb.h | 115 int ai_socktype; /* SOCK_xxx */ member
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | io.c | 120 int ai_socktype; member 152 switch (hint->ai_socktype) in getaddrinfo() 238 hint.ai_socktype = SOCK_STREAM; in inetopen() 249 hint.ai_socktype = SOCK_STREAM; in inetopen() 258 hint.ai_socktype = SOCK_DGRAM; in inetopen() 296 if (!p->ai_socktype) in inetopen() 297 p->ai_socktype = hint.ai_socktype; in inetopen() 298 while ((fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) >= 0) in inetopen()
|
/illumos-gate/usr/src/lib/lib9p/common/transport/ |
H A D | socket.c | 165 hints.ai_socktype = SOCK_STREAM; in l9p_get_server_addrs() 252 s = socket(addr->ai_family, addr->ai_socktype, in l9p_bind_addrs()
|
/illumos-gate/usr/src/cmd/vntsd/ |
H A D | vntsd.c | 298 hints.ai_socktype = SOCK_STREAM; in get_listen_ip_addr()
|
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/ |
H A D | ip.c | 624 aip->ai_socktype, aip->ai_protocol)) == -1) { in ip_xprt_setup() 743 aih.ai_socktype = SOCK_STREAM; in ip_create_cinfo()
|
/illumos-gate/usr/src/lib/libadutils/common/ |
H A D | srv_query.c | 569 hints.ai_socktype = SOCK_STREAM; in do_getaddrinfo()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | gdb.c | 1942 hints.ai_socktype = SOCK_STREAM; in init_gdb() 1950 s = socket(gdbaddr->ai_family, gdbaddr->ai_socktype, 0); in init_gdb()
|
H A D | rfb.c | 1478 hints.ai_socktype = SOCK_STREAM; in rfb_init() 1487 s->rs_fd = socket(ai->ai_family, ai->ai_socktype, 0); in rfb_init()
|