Searched refs:connect (Results 201 - 225 of 328) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/dma/
H A Dnet.c329 if (connect(fd, (struct sockaddr *)&h->sa, h->ai.ai_addrlen) < 0) {
330 syslog(LOG_INFO, "connect to %s [%s] failed: %m",
389 READ_REMOTE_CHECK("connect", 2);
402 READ_REMOTE_CHECK("connect", 2);
/freebsd-13-stable/contrib/apr/network_io/unix/
H A Dsockets.c393 rc = connect(sock->socketdes,
398 /* we can see EINPROGRESS the first time connect is called on a non-blocking
437 /* connect() got us an ephemeral port */
442 /* Assign connect address as local. */
450 /* not bound to specific local interface; connect() had to assign
/freebsd-13-stable/sys/contrib/vchiq/interface/vchiq_arm/
H A Dvchiq_core.h415 /* Event indicating connect message received */
416 struct semaphore connect; member in struct:vchiq_state_struct
/freebsd-13-stable/contrib/ofed/librdmacm/
H A Dacm.c153 ret = connect(sock, (struct sockaddr *) &addr, sizeof(addr));
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Devutil.c260 /* We want to find out the port number to connect to. */
266 if (connect(connector, (struct sockaddr *) &connect_addr,
536 if (connect(*fd_ptr, sa, socklen) < 0) {
555 /* Check whether a socket on which we called connect() is done
558 the connect operation. */
667 GetAdaptersAddresses and fall back to connect+getsockname.
764 connect(fd, (struct sockaddr*)&sin, sizeof(sin)) == 0 &&
773 connect(fd, (struct sockaddr*)&sin6, sizeof(sin6)) == 0 &&
986 * connect to localhost. */
997 /* connect t
[all...]
/freebsd-13-stable/contrib/netbsd-tests/net/mcast/
H A Dmcast.c216 cause = f == bind ? "bind" : "connect";
276 s = getsocket(host, port, conn ? connect : connector, &slen, bug);
/freebsd-13-stable/contrib/ntp/lib/isc/unix/
H A Dentropy.c549 if (connect(fd, (struct sockaddr *) &sname,
/freebsd-13-stable/sys/netgraph/
H A Dng_tty.c134 .connect = ngt_connect,
/freebsd-13-stable/sys/sys/
H A Dsocket.h681 int connect(int, const struct sockaddr *, socklen_t);
/freebsd-13-stable/crypto/openssh/
H A Dauthfd.c109 connect(sock, (struct sockaddr *)&sunaddr, sizeof(sunaddr)) < 0) {
/freebsd-13-stable/crypto/openssh/regress/
H A Dtest-exec.sh164 connect-privsep|reexec)
497 # don't use SUDO for proxy connect
/freebsd-13-stable/usr.bin/whois/
H A Dwhois.c344 if (connect(s, res->ai_addr, res->ai_addrlen) < 0) {
459 err(EX_OSERR, "connect()");
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_device_tbl.c423 if (connect(d_sock, (struct sockaddr *)&devd_addr,
425 syslog(LOG_ERR,"Failed to connect socket for %s: %m",
/freebsd-13-stable/tools/regression/sockets/sendfile/
H A Dsendfile.c249 if (connect(*connect_socket, (struct sockaddr *)&sin, sizeof(sin)) < 0)
250 FAIL_ERR("connect")
/freebsd-13-stable/contrib/wpa/wpa_supplicant/
H A Dctrl_iface_unix.c611 if (connect(priv->sock, (struct sockaddr *) &addr,
1183 if (connect(priv->sock, (struct sockaddr *) &addr,
/freebsd-13-stable/crypto/heimdal/appl/rsh/
H A Drsh.c646 if (connect (priv_socket1, ai->ai_addr, ai->ai_addrlen) < 0) {
732 if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
736 warn ("connect(%s [%s])", hostname, addr);
738 warn ("connect(%s)", hostname);
/freebsd-13-stable/contrib/bsnmp/snmpd/
H A Dtrap.c130 if (connect(t->socket, (struct sockaddr *)&sa, sa.sin_len) == -1) {
131 syslog(LOG_ERR, "connect(%s,%u): %m",
731 if (connect(addrs->socket, (struct sockaddr *)&sa, sa.sin_len) == -1) {
732 syslog(LOG_ERR, "connect(%s,%u): %m",
/freebsd-13-stable/contrib/tnftp/src/
H A Dftp.c227 warnx("Can't connect to `%s:%s'", host, port);
1198 * otherwise the server's connect may fail.
1666 goto dataconn_failed; /* set non-blocking connect */
1741 int connect; member in struct:comvars
1777 ip->connect = connected;
1778 connected = op->connect;
/freebsd-13-stable/crypto/heimdal/appl/push/
H A Dpush.c117 if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
118 warn ("connect(%s)", hostname);
/freebsd-13-stable/crypto/heimdal/lib/kadm5/
H A Dipropd_slave.c81 if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
471 "port ipropd-slave will connect to", "port"},
618 "retrying to connect", (int)left);
/freebsd-13-stable/sbin/hastd/
H A Dproto_tcp.c317 if (connect(tctx->tc_fd, (struct sockaddr *)&tctx->tc_sa,
326 pjdlog_common(LOG_DEBUG, 1, errno, "connect() failed");
/freebsd-13-stable/sbin/iscontrol/
H A Dfsm.c150 if(connect(soc, res->ai_addr, res->ai_addrlen) == 0)
201 perror("connect");
/freebsd-13-stable/lib/libpmcstat/
H A Dlibpmcstat_logging.c498 if (connect(fd, res->ai_addr, res->ai_addrlen) < 0) {
/freebsd-13-stable/contrib/libevent/
H A DMakefile.in306 sample/http-server$(EXEEXT) sample/http-connect$(EXEEXT) \
330 am_sample_http_connect_OBJECTS = sample/http-connect.$(OBJEXT)
1080 sample/http-server sample/http-connect sample/signal-test \
1104 sample_http_connect_SOURCES = sample/http-connect.c
1413 sample/http-connect.$(OBJEXT): sample/$(am__dirstamp) \
1416 sample/http-connect$(EXEEXT): $(sample_http_connect_OBJECTS) $(sample_http_connect_DEPENDENCIES) $(EXTRA_sample_http_connect_DEPENDENCIES) sample/$(am__dirstamp)
1417 @rm -f sample/http-connect$(EXEEXT)
1661 @AMDEP_TRUE@@am__include@ @am__quote@sample/$(DEPDIR)/http-connect.Po@am__quote@
/freebsd-13-stable/contrib/libpcap/
H A Dsockutils.c268 * In case of a client socket, this function calls socket() and connect().
418 * to connect to is unavailable in IPv6, so we have to try in IPv4 as well
423 if (connect(sock, tempaddrinfo->ai_addr, (int) tempaddrinfo->ai_addrlen) == -1)
442 /* In case more then one 'connect' fails, we manage to keep all the error messages */
459 * If tempaddrinfo is equal to NULL, it means that all the connect() failed.
1234 * host is allowed to connect to me. To do that, we have a buffer that keeps the list of the
1254 * - '0' if the host belongs to the host list (and therefore it is allowed to connect)
1255 * - '-1' in case the host does not belong to the host list (and therefore it is not allowed to connect
1479 * like bind(), connect(), accept(), and more) and it transforms its content into a 'human'

Completed in 373 milliseconds

1234567891011>>