Searched refs:connect (Results 176 - 200 of 328) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/netbsd-tests/lib/libc/sys/
H A Dt_stat.c357 connect(fd, (struct sockaddr *)&addr,
/freebsd-13-stable/contrib/ntp/lib/isc/include/isc/
H A Dsocket.h243 #define ISC_SOCKCANCEL_CONNECT 0x00000008 /*%< cancel connect */
286 isc_result_t (*connect)(isc_socket_t *sock, isc_sockaddr_t *addr, member in struct:isc_socketmethods
/freebsd-13-stable/sys/netgraph/
H A Dng_gif.c153 .connect = ng_gif_connect,
/freebsd-13-stable/sys/contrib/ngatm/netnatm/msg/
H A Duni_msg.h315 struct uni_connect connect; member in union:uni_msgall
/freebsd-13-stable/crypto/openssh/regress/
H A Dnetcat.c94 int kflag; /* More than one connect */
175 if (strcasecmp(optarg, "connect") == 0)
385 * For UDP and -k, don't connect the socket, let it
407 rv = connect(s, (struct sockaddr *)&z, len);
409 err(1, "connect");
433 if (connect(s, NULL, 0) < 0)
434 err(1, "connect");
572 if (connect(s, (struct sockaddr *)&sun_sa, SUN_LEN(&sun_sa)) < 0) {
653 warn("connect to %s port %s (%s) failed", host, port,
679 if ((ret = connect(
[all...]
/freebsd-13-stable/usr.sbin/bluetooth/rfcomm_pppd/
H A Drfcomm_pppd.c294 * to connect his cell phone to the Internet, and, user's host
296 * is not possible to tell the phone to just connect and start
388 if (connect(s, (struct sockaddr *) &sock_addr,
390 syslog(LOG_ERR, "Could not connect socket. %s (%d)",
460 "\t-a address Address to listen on or connect to (required for client)\n" \
462 "\t-C channel RFCOMM channel to listen on or connect to (required)\n" \
/freebsd-13-stable/usr.sbin/ppp/
H A Dudp.c73 unsigned connected : 2; /* Have we connect()d ? */
239 if (connect(p->fd, (struct sockaddr *)&dev->sock, sizeof dev->sock) == 0) {
243 log_Printf(LogWARN, "%s: connect: %s\n", p->name.full, strerror(errno));
/freebsd-13-stable/tools/tools/netrate/tcpp/
H A Dtcpp_client.c123 if (connect(fd, (struct sockaddr *)&remoteip, sizeof(remoteip)) < 0 &&
125 err(-1, "connect");
/freebsd-13-stable/usr.bin/bluetooth/rfcomm_sppd/
H A Drfcomm_sppd.c283 if (connect(s, (struct sockaddr *) &ra, sizeof(ra)) < 0)
284 err(1, "Could not connect socket");
456 "\t-c channel RFCOMM channel to connect to or listen on\n" \
/freebsd-13-stable/lib/libbluetooth/
H A Dhci.c85 connect(s, (struct sockaddr *) &ha, sizeof(ha)) < 0) {
721 connect(s, (struct sockaddr *) &ha, sizeof(ha)) < 0 ||
741 connect(s, (struct sockaddr *) &ha, sizeof(ha)) < 0)
/freebsd-13-stable/contrib/lib9p/pytest/
H A Dclient.py45 Connect or reconnect as client (ccc = check and connect client).
62 clnt.connect()
177 Start a test case. Most callers must then do a ccs() to connect.
224 "call tstate ccs, turn socket.error connect failure into test fail"
333 tc.fail('cannot connect at all (server down?)')
351 tc.fail('can no longer connect, did bad pkt crash server?')
356 clnt.connect()
373 clnt.connect()
379 with TestCase('connect normally', tstate) as tc:
H A Dp9conn.py116 self.connect(server, port)
132 def connect(self, server, port=STD_P9_PORT): member in class:P9SockIO
141 sock.connect((server, port))
317 the default for .connect() (which is still deferred).
705 def connect(self, server=None, port=None): member in class:P9Client
715 connect, however.
720 raise LocalError('connect: no server specified and no default')
726 super(P9Client, self).connect(server, port)
761 # (should we wrap it with a connect-to-{0} msg?)
/freebsd-13-stable/sys/contrib/ngatm/netnatm/sig/
H A Dsig_call.c932 if (!IE_ISGOOD(c->connid) && IE_ISGOOD(arg->connect.connid))
933 c->connid = arg->connect.connid;
935 if (IE_ISGOOD(arg->connect.epref)) {
936 p = uni_find_partyx(c, arg->connect.epref.epref,
937 !arg->connect.epref.flag);
962 msg->u.connect = arg->connect;
1031 struct uni_connect *co = &u->u.connect;
1136 conf->connect.hdr = u->u.hdr;
1137 copy_msg_connect(co, &conf->connect);
[all...]
/freebsd-13-stable/contrib/ofed/librdmacm/
H A Dcma.c94 void *connect; member in struct:cma_id_private
476 free(id_priv->connect);
1448 memcpy(dst->private_data, id_priv->connect, id_priv->connect_len);
1508 free(id_priv->connect);
2384 id_priv->connect = malloc(res->ai_connect_len);
2385 if (!id_priv->connect) {
2389 memcpy(id_priv->connect, res->ai_connect, res->ai_connect_len);
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Dgpg_agent.c348 if (connect(sd, (struct sockaddr *)&addr, sizeof(addr)) == -1)
/freebsd-13-stable/crypto/heimdal/appl/test/
H A Dhttp_client.c68 if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
69 warn ("connect(%s)", hostname);
121 { "port", 'p', arg_string, &port_str, "port to connect to", "port" },
/freebsd-13-stable/crypto/heimdal/kdc/
H A Dhprop.c76 if (connect (s, a->ai_addr, a->ai_addrlen) < 0) {
77 warn ("connect(%s)", hostname);
304 krb5_warn (context, errno, "connect %s", host);
/freebsd-13-stable/crypto/heimdal/lib/ipc/
H A Dclient.c335 if (connect(s->fd, (struct sockaddr *)&addr, sizeof(addr)) != 0) {
/freebsd-13-stable/sbin/ggate/ggatec/
H A Dggatec.c274 if (connect(sfd, (struct sockaddr *)&serv, sizeof(serv)) == -1) {
275 g_gate_log(LOG_DEBUG, "Cannot connect to server: %s.",
449 g_gate_xlog("Cannot connect: %s.", strerror(errno));
481 g_gate_xlog("Cannot connect: %s.", strerror(errno));
/freebsd-13-stable/lib/libthr/thread/
H A Dthr_syscalls.c653 SLOT(connect);
/freebsd-13-stable/libexec/phttpget/
H A Dphttpget.c362 errx(1, "Could not connect to %s", servername);
381 /* ... and connect to the server. */
382 if(connect(sd, res->ai_addr, res->ai_addrlen)) {
/freebsd-13-stable/contrib/bearssl/samples/
H A Dclient_basic.c87 if (connect(fd, p->ai_addr, p->ai_addrlen) < 0) {
88 perror("connect()");
96 fprintf(stderr, "ERROR: failed to connect\n");
/freebsd-13-stable/contrib/blacklist/lib/
H A Dbl.c182 * We try to connect anyway even when we are a server to verify
184 * to connect and we are a server, someone else owns it.
186 rv = connect(b->b_fd, (const void *)sun, (socklen_t)sizeof(*sun));
198 * connect, so leave the socket alone until it does
203 "%s: connect failed for `%s' (%s)",
/freebsd-13-stable/contrib/ipfilter/tools/
H A Dipfsyncd.c433 if (connect(nfd, (struct sockaddr *)sinp, sizeof(*sinp)) == -1) {
434 syslog(LOG_ERR, "connect:%m");
435 debug(1, "connect:%s\n", STRERROR(errno));
/freebsd-13-stable/contrib/libevent/
H A Devutil.c264 /* We want to find out the port number to connect to. */
270 if (connect(connector, (struct sockaddr *) &connect_addr,
540 if (connect(*fd_ptr, sa, socklen) < 0) {
559 /* Check whether a socket on which we called connect() is done
562 the connect operation. */
671 GetAdaptersAddresses and fall back to connect+getsockname.
768 connect(fd, (struct sockaddr*)&sin, sizeof(sin)) == 0 &&
777 connect(fd, (struct sockaddr*)&sin6, sizeof(sin6)) == 0 &&
990 * connect to localhost. */
1001 /* connect t
[all...]

Completed in 331 milliseconds

1234567891011>>