/freebsd-11-stable/sbin/routed/rtquery/ |
H A D | rtquery.c | 346 while (bind(soc, (struct sockaddr *)&myaddr, sizeof(myaddr)) < 0) { 349 perror("bind");
|
/freebsd-11-stable/tools/regression/netinet/ipmulticast/ |
H A D | ipmulticast.c | 631 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 D | unix_gc.c | 164 if (bind(sock, sa, len) < 0) 165 err(-1, "%s: bind", test);
|
/freebsd-11-stable/usr.sbin/timed/timed/ |
H A D | timed.c | 224 if (bind(sock, (struct sockaddr*)&server, sizeof(server))) { 228 warn("bind");
|
/freebsd-11-stable/contrib/ofed/libibverbs/examples/ |
H A D | ud_pingpong.c | 233 if (!bind(sockfd, t->ai_addr, t->ai_addrlen))
|
H A D | uc_pingpong.c | 235 if (!bind(sockfd, t->ai_addr, t->ai_addrlen))
|
/freebsd-11-stable/contrib/wpa/src/wps/ |
H A D | wps_upnp_ssdp.c | 745 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 D | uc_common.c | 149 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 D | b_sock.c | 762 if (bind(s, &server.sa, addrlen) == -1) {
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/ |
H A D | cpuvar.h | 709 extern int cpu_bind_thread(kthread_t *tp, processorid_t bind,
|
/freebsd-11-stable/libexec/tftpd/ |
H A D | tftpd.c | 410 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 D | rwhod.c | 257 if (bind(s, (struct sockaddr *)&soin, sizeof(soin)) < 0) { 258 syslog(LOG_ERR, "bind: %m");
|
/freebsd-11-stable/usr.sbin/nscd/ |
H A D | nscd.c | 182 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 D | fils_hlp.c | 418 if (bind(s, (struct sockaddr *) &addr, sizeof(addr))) { 420 "FILS: Failed to bind DHCP socket: %s",
|
H A D | vlan_full.c | 775 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 D | lockd.c | 219 * 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 D | sockutils.c | 272 * 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 D | telnetd.c | 357 if (bind(s, res->ai_addr, res->ai_addrlen) < 0) 358 err(1, "bind");
|
/freebsd-11-stable/contrib/sendmail/libmilter/ |
H A D | listener.c | 514 if (bind(sock, &addr.sa, L_socksize) < 0) 517 "%s: Unable to bind to port %s: %s",
|
/freebsd-11-stable/libexec/ftpd/ |
H A D | ftpd.c | 457 * 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 D | opieftpd.c | 806 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 D | wpa_priv.c | 809 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 D | ProcessMonitor.cpp | 735 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 D | ntpdate.c | 1736 * 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 D | radlib.c | 739 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));
|