Searched refs:connect (Results 101 - 125 of 130) sorted by relevance

123456

/illumos-gate/usr/src/cmd/bnu/
H A Dcallers.c659 if (connect(ret, (struct sockaddr *)&sin, sizeof (sin)) < 0) {
662 DEBUG(5, "connect failed: %s\n", strerror(errno));
663 logent("connect failed", strerror(errno));
1123 * Prepare to connect.
1186 /* connect to the service -- some listeners can't handle */
1187 /* multiple connect requests, so try it a few times */
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/
H A Dfinger.c1236 while (connect(s, (struct sockaddr *)&sin6, sizeof (sin6)) < 0) {
1255 perror("connect");
/illumos-gate/usr/src/stand/lib/sock/
H A Dsocket.c717 connect(int fd, const struct sockaddr *addr, socklen_t addr_len) function
732 /* Don't allow connect for raw socket. */
766 /* Call TCP connect routine. */
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi.h1060 int (*connect)(void *, struct sockaddr *, int, int, int); member in struct:iscsi_network
H A Disns_client.c1530 rval = iscsi_net->connect(so, &sa_rsvr.sin,
/illumos-gate/usr/src/cmd/fm/modules/common/ip-transport/
H A Dip.c122 static char *ip_port; /* port to connect to (or bind to if server) */
493 ip_debug(IP_DEBUG_FINE, "connect fd %d ipx %p",
638 err = connect(fd, aip->ai_addr, aip->ai_addrlen);
658 s1 = "failed to connect to";
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocaladdr.c1454 /* connect to arbitrary port and address (NOT loopback) */
1459 err = connect(sock, (LPSOCKADDR) &addr, sizeof(SOCKADDR));
H A Dsendto_kdc.c562 * - getsockopt(SO_ERROR) to check connect status
762 e = connect(fd, ai->ai_addr, ai->ai_addrlen);
773 dprint("connect failed: %m\n", SOCKET_ERRNO);
/illumos-gate/usr/src/lib/libshell/common/sh/
H A Dio.c288 if (server && !bind(fd, p->ai_addr, p->ai_addrlen) && !listen(fd, 5) || !server && !connect(fd, p->ai_addr, p->ai_addrlen))
/illumos-gate/usr/src/lib/libinetsvc/common/
H A Dinetsvc.c1240 if (connect(fd, (struct sockaddr *)&addr, sizeof (addr)) < 0) {
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dos-ip.c242 * Non-blocking connect call function
280 if ((n = connect(sockfd, saptr, salen)) < 0)
288 perror("connect");
308 "resetting connect timeout to default value "
332 /* connects. If the connect fails, the exception fd, eset, is */
342 /* if wset is set, the connect worked */
351 /* if eset is set, the connect failed */
480 * If an extended I/O connect callback has been defined, just use it.
653 * Block all of the signals that might interrupt connect() since there
654 * is an OS bug that causes connect() t
[all...]
/illumos-gate/usr/src/cmd/zlogin/
H A Dzlogin.c253 * with it to determine whether it will allow us to connect.
275 if (connect(sockfd, (struct sockaddr *)&servaddr,
277 zperror(gettext("Could not connect to zone console"));
315 zperror(gettext("Could not connect to zone console"));
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_util.c1944 if (connect(sock, (struct sockaddr *)&sin, sizeof (sin)) < 0) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A Din.rshd.c624 if (connect(s, (struct sockaddr *)fromp, fromplen) < 0) {
629 syslog(LOG_INFO, "connect second port: %m");
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dscn.c1592 if (connect(so, &ca.sin, sizeof (ca.in)) !=
1595 "connect() failed %%m.");
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dsockfilter.c1376 __SOF_FILTER_OP(so, connect, cr, addr, addrlen)
H A Dsocksyscalls.c339 * to connect the two sockets together.
396 * Bind both sockets and connect them with each other.
775 connect(int sock, struct sockaddr *name, socklen_t namelen, int version) function
781 dprint(1, ("connect(%d, %p, %d)\n",
/illumos-gate/usr/src/common/net/wanboot/
H A Dboot_http.c357 * The next connect will not use a proxy.
1966 * hostname - the host to connect to
1967 * port - the port to connect to
2001 status = connect(sock, (struct sockaddr *)&addr, sizeof (addr));
2081 * the request to connect to the target host. It reads the response
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmain.c142 * passed to the connect/disconnect script. This extra
440 option_error("connect script is required for demand-dialling\n");
448 /* default holdoff to 0 if no connect script has been given */
790 if (device_script(connector, ttyfd, ttyfd, 0, "connect") < 0) {
918 * Print connect time and statistics.
2534 /* get a socket and connect it to the other end */
2544 if (connect(sock, (struct sockaddr *)&sad, sizeof(sad)) >= 0) {
2553 error("Can't connect to %s: %m", dest);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/traceroute/
H A Dtraceroute.c1833 /* connect it */
1834 if (connect(tmp_fd, sock, sock_len) < 0) {
1836 * If there's no route to the destination, this connect() call
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/ping/
H A Dping.c1225 /* connect it */
1226 if (connect(tmp_fd, sock, sock_len) < 0) {
1228 * If there's no route to the destination, this connect() call
/illumos-gate/usr/src/uts/intel/ia32/ml/
H A Dmodstubs.s473 NO_UNLOAD_STUB(sockfs, connect, nomod_zero);
/illumos-gate/usr/src/uts/sparc/ml/
H A Dmodstubs.s361 SCALL_NU_STUB(sockfs, connect, nomod_zero);
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/telnet/
H A Dcommands.c2577 * (ALL_ADDRS, ONLY_V6, ONLY_V4) telnet will be trying to connect.
2968 * Type of addresses we'll try to connect to (ALL_ADDRS, ONLY_V6,
3209 "telnet: Unable to connect to remote host");
3215 * address we are trying to connect to. This is because we
3272 ret_val = connect(net, h->ai_addr, h->ai_addrlen);
3284 "telnet: connect to address %s: ", abuf);
3291 perror("telnet: Unable to connect to remote host");
3300 * Do initial protocol to connect to farther end...
3361 #define HELPINDENT (sizeof ("connect"))
3363 static char openhelp[] = "connect t
[all...]
/illumos-gate/usr/src/cmd/dcs/sparc/sun4u/
H A Drdr_messages.c443 * Perform the necessary steps for a client to connect to
475 if (connect(fd, addr, addr_len) == -1) {
486 * Perform the necessary steps for a server to connect to a

Completed in 170 milliseconds

123456