Searched refs:bind (Results 251 - 275 of 414) sorted by relevance

<<11121314151617

/freebsd-11-stable/sbin/routed/rtquery/
H A Drtquery.c346 while (bind(soc, (struct sockaddr *)&myaddr, sizeof(myaddr)) < 0) {
349 perror("bind");
/freebsd-11-stable/tools/regression/netinet/ipmulticast/
H A Dipmulticast.c631 error = bind(sock, &bsu->sa, bsu->sa.sa_len);
633 warn("bind");
756 fprintf(stderr, "-b: bind listening socket to ifaddr "
/freebsd-11-stable/tools/regression/sockets/unix_gc/
H A Dunix_gc.c164 if (bind(sock, sa, len) < 0)
165 err(-1, "%s: bind", test);
/freebsd-11-stable/usr.sbin/timed/timed/
H A Dtimed.c224 if (bind(sock, (struct sockaddr*)&server, sizeof(server))) {
228 warn("bind");
/freebsd-11-stable/contrib/ofed/libibverbs/examples/
H A Dud_pingpong.c233 if (!bind(sockfd, t->ai_addr, t->ai_addrlen))
H A Duc_pingpong.c235 if (!bind(sockfd, t->ai_addr, t->ai_addrlen))
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_upnp_ssdp.c745 if (bind(sd, (struct sockaddr *) &addr, sizeof(addr)))
870 wpa_printf(MSG_INFO, "WPS UPnP: Failed to bind "
/freebsd-11-stable/tools/regression/sockets/unix_cmsg/
H A Duc_common.c149 if (bind(fd, (struct sockaddr *)&uc_cfg.serv_addr_sun,
151 uc_logmsg("socket_create: bind(%s)",
/freebsd-11-stable/crypto/openssl/crypto/bio/
H A Db_sock.c762 if (bind(s, &server.sa, addrlen) == -1) {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/
H A Dcpuvar.h709 extern int cpu_bind_thread(kthread_t *tp, processorid_t bind,
/freebsd-11-stable/libexec/tftpd/
H A Dtftpd.c410 if (bind(peer, (struct sockaddr *)&me_sock, me_sock.ss_len) < 0) {
411 tftp_log(LOG_ERR, "bind: %s", strerror(errno));
/freebsd-11-stable/usr.sbin/rwhod/
H A Drwhod.c257 if (bind(s, (struct sockaddr *)&soin, sizeof(soin)) < 0) {
258 syslog(LOG_ERR, "bind: %m");
/freebsd-11-stable/usr.sbin/nscd/
H A Dnscd.c182 if (bind(retval->sockfd, (struct sockaddr *)&serv_addr,
187 LOG_ERR_2("runtime environment", "can't bind socket to path: "
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dfils_hlp.c418 if (bind(s, (struct sockaddr *) &addr, sizeof(addr))) {
420 "FILS: Failed to bind DHCP socket: %s",
H A Dvlan_full.c775 if (bind(priv->s, (struct sockaddr *) &local, sizeof(local)) < 0) {
776 wpa_printf(MSG_ERROR, "VLAN: %s: bind(netlink) failed: %s",
/freebsd-11-stable/usr.sbin/rpc.lockd/
H A Dlockd.c219 * If no hosts were specified, add a wildcard entry to bind to
283 if (bind(fd, (struct sockaddr *) &sun, sun.sun_len) < 0) {
284 err(1, "Can't bind local lockd socket");
337 * Failed to bind port, so close
341 * bind(2).
491 * bind failed with EADDRINUSE.
593 * If no hosts were specified, just bind to INADDR_ANY
677 /* Now, attempt the bind. */
822 * Clear out sockets after a failure to bind one of them, so that the
/freebsd-11-stable/contrib/libpcap/
H A Dsockutils.c272 * In case of a server socket, the function calls socket(), bind() and listen().
330 * Allow a new server to bind the socket after the old one
352 * and try to bind it to the IPv4 "any" address, it gets
386 if (bind(sock, addrinfo->ai_addr, (int) addrinfo->ai_addrlen) != 0)
388 sock_geterror("bind()", errbuf, errbuflen);
668 * in case of a server socket which has to bind to all addresses).
713 * \warning SOCKET: I should check all the accept() in order to bind to all addresses in case
1479 * like bind(), connect(), accept(), and more) and it transforms its content into a 'human'
/freebsd-11-stable/contrib/telnet/telnetd/
H A Dtelnetd.c357 if (bind(s, res->ai_addr, res->ai_addrlen) < 0)
358 err(1, "bind");
/freebsd-11-stable/contrib/sendmail/libmilter/
H A Dlistener.c514 if (bind(sock, &addr.sa, L_socksize) < 0)
517 "%s: Unable to bind to port %s: %s",
/freebsd-11-stable/libexec/ftpd/
H A Dftpd.c457 * Open a socket, bind it to the FTP port, and start
1890 if (bind(s, (struct sockaddr *)&data_source,
2920 if (bind(pdata, (struct sockaddr *)&pasv_addr, pasv_addr.su_len) < 0)
3033 if (bind(pdata, (struct sockaddr *)&pasv_addr, len) < 0)
3457 if (bind(*s, r->ai_addr, r->ai_addrlen) < 0) {
3458 syslog(LOG_DEBUG, "control bind: %m");
3470 syslog(LOG_ERR, "control socket: Couldn't bind to any socket");
/freebsd-11-stable/contrib/opie/
H A Dopieftpd.c806 if (bind(s, (struct sockaddr *) & data_source,
1336 if (bind(pdata, (struct sockaddr *) & pasv_addr, sizeof(pasv_addr)) < 0) {
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Dwpa_priv.c809 if (bind(iface->fd, (struct sockaddr *) &addr, sizeof(addr)) < 0) {
810 wpa_printf(MSG_DEBUG, "bind(PF_UNIX) failed: %s",
823 if (bind(iface->fd, (struct sockaddr *) &addr,
826 "wpa-priv-iface-init: bind(PF_UNIX): %s",
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/FreeBSD/
H A DProcessMonitor.cpp735 std::bind(&ProcessMonitor::MonitorCallback, this, _1, _2, _3, _4),
775 std::bind(&ProcessMonitor::MonitorCallback, this, _1, _2, _3, _4),
/freebsd-11-stable/contrib/ntp/ntpdate/
H A Dntpdate.c1736 * For each structure returned, open and bind socket
1773 * bind the socket to the NTP port
1779 rc = bind(fd[nbsock], &addr.sa, SOCKLEN(&addr));
1784 msyslog(LOG_ERR, "bind() fails: %m");
2266 * This is only for Windows Systems, as they tend not to fail on the real bind() below
2280 if (bind(checksocket, (struct sockaddr *)&checkservice,
/freebsd-11-stable/lib/libradius/
H A Dradlib.c739 if (bind(h->fd, (const struct sockaddr *)&sin,
741 generr(h, "bind: %s", strerror(errno));
992 if (bind(h->fd, (const struct sockaddr *)&sin,
994 generr(h, "bind: %s", strerror(errno));

Completed in 245 milliseconds

<<11121314151617