Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c251 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 Drexec.c89 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 Drcmd.c137 hints.ai_socktype = SOCK_STREAM; in rcmd_af()
/illumos-gate/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 &&
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 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.c284 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 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()
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dnetcat.c285 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 Dsocks.c80 hints.ai_socktype = SOCK_STREAM; in decode_addrport()
/illumos-gate/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.c125 s = socket(res->ai_addr->sa_family, res->ai_socktype, in main()
/illumos-gate/usr/src/test/smbclient-tests/cmd/abort_conn/
H A Dabort_conn.c133 hints.ai_socktype = SOCK_STREAM; in main()
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c159 hints.ai_socktype = SOCK_STREAM; in smb_ctx_getaddr()
H A Dnbns_rq.c150 nai->ai_socktype = SOCK_STREAM; in nbns_getaddrinfo()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/include/
H A Dfake-addrinfo.h112 int ai_socktype; /* SOCK_foo */ member
/illumos-gate/usr/src/head/
H A Dnetdb.h115 int ai_socktype; /* SOCK_xxx */ member
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dio.c120 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 Dsocket.c165 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 Dvntsd.c298 hints.ai_socktype = SOCK_STREAM; in get_listen_ip_addr()
/illumos-gate/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()
/illumos-gate/usr/src/lib/libadutils/common/
H A Dsrv_query.c569 hints.ai_socktype = SOCK_STREAM; in do_getaddrinfo()
/illumos-gate/usr/src/cmd/bhyve/
H A Dgdb.c1942 hints.ai_socktype = SOCK_STREAM; in init_gdb()
1950 s = socket(gdbaddr->ai_family, gdbaddr->ai_socktype, 0); in init_gdb()
H A Drfb.c1478 hints.ai_socktype = SOCK_STREAM; in rfb_init()
1487 s->rs_fd = socket(ai->ai_family, ai->ai_socktype, 0); in rfb_init()

12