Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c207 aip->ai_socktype = 0; in _getaddrinfo()
255 switch (aip->ai_socktype) { in _getaddrinfo()
261 aip->ai_socktype = SOCK_DGRAM; in _getaddrinfo()
265 aip->ai_socktype = SOCK_STREAM; in _getaddrinfo()
268 aip->ai_socktype = SOCK_RAW; in _getaddrinfo()
311 switch (aip->ai_socktype) { in _getaddrinfo()
356 if (aip->ai_socktype == ANY) { in _getaddrinfo()
407 if (aip->ai_socktype == ANY) { in _getaddrinfo()
421 aip->ai_socktype = SOCK_DGRAM; in _getaddrinfo()
424 aip->ai_socktype = SOCK_STREAM; in _getaddrinfo()
[all …]
H A Drexec.c91 hints.ai_socktype = SOCK_STREAM; in rexec_af()
105 s = socket(res->ai_addr->sa_family, res->ai_socktype, res->ai_protocol); in rexec_af()
/titanic_41/usr/src/lib/libresolv2/common/irs/
H A Dgetaddrinfo.c337 pai->ai_socktype = ANY;
383 if (pai->ai_socktype != ANY && pai->ai_protocol != ANY) {
391 if (pai->ai_socktype == ex->e_socktype &&
454 if (!MATCH(pai->ai_socktype, ex->e_socktype, WILD_SOCKTYPE(ex)))
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;
[all …]
/titanic_41/usr/src/cmd/lms/tools/
H A DATNetworkTool.cpp274 hints.ai_socktype = SOCK_STREAM; in GetSockPeerIPs()
325 addr->ai_family, addr->ai_socktype, in CreateSocket()
365 addr->ai_family, addr->ai_socktype, in ConnectSocket()
382 hints.ai_socktype = socktype; in ConnectSocket()
487 hints.ai_socktype = socktype; in CreateServerSockets()
601 hints.ai_socktype = socktype; in Connect()
614 hints.ai_socktype = socktype; in Connect()
670 hints.ai_socktype = socktype; in ConnectLoopback()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dsendto_kdc.c232 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 Dhostaddr.c55 hints.ai_socktype = SOCK_DGRAM; in krb5_os_hostaddr()
H A Dchangepw.c80 a->ai_socktype = sockType; in krb5_locate_kpasswd()
H A Dlocate_kdc.c279 hint.ai_socktype = socktype; in krb5int_add_host_to_list()
357 x->ai.ai_socktype = socktype; in module_callback()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c426 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()
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c286 hints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in main()
314 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 Dsocks.c82 hints.ai_socktype = SOCK_STREAM; in decode_addrport()
/titanic_41/usr/src/cmd/ssh/include/
H A Dfake-getaddrinfo.h31 int ai_socktype; /* SOCK_xxx */ member
/titanic_41/usr/src/cmd/cmd-inet/usr.bin/
H A Dwhois.c227 hints.ai_socktype = SOCK_STREAM; in gethostinfo()
273 s = socket(res->ai_family, res->ai_socktype, res->ai_protocol); in whois()
H A Drdate.c127 s = socket(res->ai_addr->sa_family, res->ai_socktype, in main()
/titanic_41/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c156 hints.ai_socktype = SOCK_STREAM; in smb_ctx_getaddr()
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h112 int ai_socktype; /* SOCK_foo */ member
/titanic_41/usr/src/lib/libshell/common/sh/
H A Dio.c112 int ai_socktype; member
144 switch (hint->ai_socktype) in getaddrinfo()
228 hint.ai_socktype = SOCK_STREAM; in inetopen()
239 hint.ai_socktype = SOCK_STREAM; in inetopen()
248 hint.ai_socktype = SOCK_DGRAM; in inetopen()
284 if (!p->ai_socktype) in inetopen()
285 p->ai_socktype = hint.ai_socktype; in inetopen()
286 while ((fd = socket(p->ai_family, p->ai_socktype, p->ai_protocol)) >= 0) in inetopen()
/titanic_41/usr/src/cmd/ssh/ssh-http-proxy-connect/
H A Dssh-http-proxy-connect.c190 hints.ai_socktype = SOCK_STREAM; in main()
/titanic_41/usr/src/head/
H A Dnetdb.h115 int ai_socktype; /* SOCK_xxx */ member
/titanic_41/usr/src/cmd/ssh/ssh-socks5-proxy-connect/
H A Dssh-socks5-proxy-connect.c313 hints.ai_socktype = SOCK_STREAM; in main()
/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Dcanohost.c103 hints.ai_socktype = SOCK_STREAM; in get_remote_hostname()
H A Dchannels.c2220 hints.ai_socktype = SOCK_STREAM; in channel_setup_fwd_listener()
2243 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); in channel_setup_fwd_listener()
2527 hints.ai_socktype = SOCK_STREAM; in connect_to()
2631 hints.ai_socktype = SOCK_STREAM; in x11_create_display_inet()
2811 hints.ai_socktype = SOCK_STREAM; in x11_connect_display()
/titanic_41/usr/src/cmd/ssh/ssh/
H A Dsshconnect.c214 hints.ai_socktype = SOCK_STREAM; in ssh_create_socket()
356 hints.ai_socktype = SOCK_STREAM; in ssh_connect()
/titanic_41/usr/src/cmd/vntsd/
H A Dvntsd.c295 hints.ai_socktype = SOCK_STREAM; in get_listen_ip_addr()
/titanic_41/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c624 aip->ai_socktype, aip->ai_protocol)) == -1) { in ip_xprt_setup()
743 aih.ai_socktype = SOCK_STREAM; in ip_create_cinfo()

12