Home
last modified time | relevance | path

Searched refs:SOCK_STREAM (Results 1 – 25 of 147) sorted by relevance

123456

/illumos-gate/usr/src/test/os-tests/tests/minttl/
H A Dminttl.c67 .tt_type = SOCK_STREAM,
74 .tt_type = SOCK_STREAM,
81 .tt_type = SOCK_STREAM,
88 .tt_type = SOCK_STREAM,
95 .tt_type = SOCK_STREAM,
137 .tt_type = SOCK_STREAM,
145 .tt_type = SOCK_STREAM,
153 .tt_type = SOCK_STREAM,
161 .tt_type = SOCK_STREAM,
169 .tt_type = SOCK_STREAM,
[all …]
H A Dminttl_err.c58 .me_type = SOCK_STREAM,
111 .me_type = SOCK_STREAM,
164 .me_type = SOCK_STREAM,
178 .me_type = SOCK_STREAM,
186 .me_type = SOCK_STREAM,
200 .me_type = SOCK_STREAM,
208 .me_type = SOCK_STREAM,
216 .me_type = SOCK_STREAM,
224 .me_type = SOCK_STREAM,
232 .me_type = SOCK_STREAM,
/illumos-gate/usr/src/uts/common/inet/sockmods/
H A Dsockmod_sctp.c136 !(type == SOCK_STREAM || type == SOCK_SEQPACKET)) { in socksctp_create()
153 if (type == SOCK_STREAM) { in socksctp_create()
193 ASSERT((so->so_type == SOCK_STREAM || so->so_type == SOCK_SEQPACKET) && in socksctp_destroy()
H A Dsocksdp.c491 ASSERT(so->so_type == SOCK_STREAM); in sosdp_sendmsg()
812 if (so->so_type == SOCK_STREAM) { in sosdp_setsockopt()
1085 if (!(so_state & SS_ISCONNECTED) && (so->so_type == SOCK_STREAM)) { in sosdp_poll()
1102 if (so->so_type != SOCK_STREAM) { in sosdp_poll()
1200 ASSERT(lso->so_type == SOCK_STREAM); in sdp_sock_newconn()
1235 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_connected()
1257 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_disconnected()
1277 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_recv()
1319 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_urgdata()
1335 ASSERT(so->so_type == SOCK_STREAM); in sdp_sock_ordrel()
H A Dsockmod_sdp.c99 !(type == SOCK_STREAM)) { in socksdp_create()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/features/
H A Dpoll34 socketpair(AF_UNIX, SOCK_STREAM, 0, sfd) < 0 ||
60 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sfd) < 0 ||
85 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sfd) < 0 ||
107 if (socketpair(AF_UNIX, SOCK_STREAM, 0, sfd) < 0 ||
/illumos-gate/usr/src/test/os-tests/tests/sockfs/
H A Dnosignal.c57 int s = socket(PF_INET, SOCK_STREAM, 0); in main()
58 int c = socket(PF_INET, SOCK_STREAM, 0); in main()
H A Dsockpair.c145 if (sotype == SOCK_STREAM) { in runtest()
160 runtest(SOCK_STREAM); in main()
H A Dconn.c87 lsock = socket(AF_UNIX, SOCK_STREAM, 0); in listener()
173 sock = socket(AF_UNIX, SOCK_STREAM, 0); in main()
/illumos-gate/usr/src/lib/libsocket/inet/
H A Dgetaddrinfo.c281 aip->ai_socktype = SOCK_STREAM; in _getaddrinfo()
302 case SOCK_STREAM: in _getaddrinfo()
347 case SOCK_STREAM: in _getaddrinfo()
389 SP_ADDX(SOCK_STREAM, IPPROTO_TCP, port); in _getaddrinfo()
391 SP_ADDX(SOCK_STREAM, IPPROTO_SCTP, port); in _getaddrinfo()
853 *type = SOCK_STREAM; in servtype()
856 *type = SOCK_STREAM; in servtype()
H A Drexec.c89 hints.ai_socktype = SOCK_STREAM; in rexec_af()
129 s2 = socket(res->ai_family, SOCK_STREAM, 0); in rexec_af()
H A Dbindresvport.c79 if (optval == SOCK_STREAM) { in bindresvport()
/illumos-gate/usr/src/cmd/dtrace/test/tst/common/mib/
H A Dtst.tcp.ksh85 socket(S, AF_INET, SOCK_STREAM, getprotobyname('tcp'))
114 socket(S, AF_INET, SOCK_STREAM, getprotobyname('tcp'))
/illumos-gate/usr/src/lib/libstmfproxy/common/
H A Dstmftransport.c88 if ((sfd = socket(AF_INET, SOCK_STREAM, 0)) <= 0) { in pt_socket_connect()
161 sfd = socket(AF_INET, SOCK_STREAM, 0); in pt_socket_connect()
/illumos-gate/usr/src/cmd/sendmail/util/
H A Detrn.pl128 socket(S, &PF_INET, &SOCK_STREAM, $proto)
157 socket(S, &PF_INET, &SOCK_STREAM, $proto)
/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()
487 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) in unix_connect()
517 if ((s = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) in unix_listen()
570 ahints.ai_socktype = uflag ? SOCK_DGRAM : SOCK_STREAM; in remote_connect()
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dchangepw.c63 int sockType = (useTcp ? SOCK_STREAM : SOCK_DGRAM); in krb5_locate_kpasswd()
70 locate_service_kadmin, SOCK_STREAM, 0); in krb5_locate_kpasswd()
79 if (sockType != SOCK_STREAM) in krb5_locate_kpasswd()
H A Dsendto_kdc.c234 else if (ai->ai_socktype == SOCK_STREAM) in krb5int_debug_fprint()
438 socktype1 = SOCK_STREAM, socktype2 = 0; in krb5_sendto_kdc2()
440 socktype1 = SOCK_DGRAM, socktype2 = SOCK_STREAM; in krb5_sendto_kdc2()
442 socktype1 = SOCK_STREAM, socktype2 = SOCK_DGRAM; 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()
749 if (ai->ai_socktype == SOCK_STREAM) { in start_connection()
894 if (conn->addr->ai_socktype == SOCK_STREAM) { in maybe_send()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dsyslog.c213 if ((fd = socket(AF_UNIX, SOCK_STREAM, 0)) < 0)
230 if ((fd = socket(AF_INET, buf[5] == 't' ? SOCK_STREAM : SOCK_DGRAM, 0)) < 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/talk/
H A Dctl.c73 sockt = socket(AF_INET, SOCK_STREAM, 0); in open_sockt()
/illumos-gate/usr/src/lib/libresolv/
H A Dres_send.c113 ns = socket(AF_INET, SOCK_STREAM, 0); in _confcheck()
194 s = _socket(AF_INET, SOCK_STREAM, 0);
/illumos-gate/usr/src/uts/common/sys/
H A Dsocket.h109 #define SOCK_STREAM NC_TPI_COTS /* stream socket */ macro
113 #define SOCK_STREAM 2 /* stream socket */ macro
/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/ucblib/librpcsoc/
H A Drtime.c88 type = SOCK_STREAM;
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dgetaddr.c159 hints.ai_socktype = SOCK_STREAM; in smb_ctx_getaddr()

123456