/freebsd-current/contrib/ntp/include/ |
H A D | ntp_machine.h | 245 # define bind __ntp_mpe_bind macro
|
/freebsd-current/contrib/netbsd-tests/kernel/ |
H A D | t_kauth_pr_47598.c | 120 * create a socket and bind it to some arbitray free port 128 ATF_REQUIRE(bind(s, (struct sockaddr *)&sa, sizeof(sa))==0);
|
/freebsd-current/sys/dev/drm2/ttm/ |
H A D | ttm_agp_backend.c | 92 .bind = ttm_agp_bind,
|
/freebsd-current/tools/tools/net80211/w00t/redir/ |
H A D | buddy.c | 137 if (bind(s, (struct sockaddr*)&s_in, sizeof(s_in)) == -1) 138 err(1, "bind()");
|
/freebsd-current/tools/tools/net80211/wesside/udps/ |
H A D | udps.c | 148 if( bind(s, (struct sockaddr*)&s_in, sizeof(s_in)) < 0) { 149 perror("bind()");
|
/freebsd-current/tools/regression/netinet/tcpconnect/ |
H A D | tcpconnect.c | 78 if (bind(listen_sock, (struct sockaddr *)&sin, sizeof(sin)) == -1) 79 err(-1, "bind");
|
/freebsd-current/tools/regression/netinet/udpzerobyte/ |
H A D | udpzerobyte.c | 70 if (bind(sock_receive, sa, salen) < 0) 71 err(-1, "Protocol %s bind(sock_receive)", domainstr);
|
/freebsd-current/tools/regression/netinet/ipdivert/ |
H A D | ipdivert.c | 102 err = bind(s, (struct sockaddr *)&sin, sizeof(sin)); 105 fail(test, "bind"); 107 fail(test, "bind"); 110 failx(test, "bind"); 129 * Second test: create, bind, and close an IP divert socket. 138 * Third test: create two sockets, bind to different ports, and close. 151 * Fourth test: create two sockets, bind to the *same* port, and
|
/freebsd-current/tests/sys/netpfil/pf/ |
H A D | divapp.c | 67 if (bind(c->fd, (struct sockaddr *) &c->sin, c->sin_len) != 0) 68 errx(EX_OSERR, "init: Cannot bind divert socket.");
|
/freebsd-current/tests/sys/capsicum/ |
H A D | ioctls_test.c | 86 ATF_REQUIRE(bind(s[0], (struct sockaddr *)&sin, sizeof(sin)) == 0);
|
/freebsd-current/tests/sys/kern/ |
H A D | socket_accept.c | 49 ATF_REQUIRE(bind(l, (struct sockaddr *)sin, sizeof(*sin)) == 0);
|
H A D | sendfile_helper.c | 68 if (bind(ls, (struct sockaddr *)&sin, sizeof(sin)) < 0) 69 err(1, "bind ls");
|
H A D | listener_wakeup.c | 107 ATF_REQUIRE(bind(s, (struct sockaddr *)&sin, sizeof(sin)) == 0); 125 ATF_REQUIRE(bind(s, (struct sockaddr *)&sun, sizeof(sun)) == 0);
|
/freebsd-current/tests/sys/netinet/ |
H A D | udp_io.c | 53 ATF_REQUIRE(bind(b, (struct sockaddr *)&sin, sizeof(sin)) == 0);
|
/freebsd-current/tests/sys/netgraph/ |
H A D | ksocket.c | 60 ATF_REQUIRE(bind(us, &sa, sizeof(sa)) == 0);
|
/freebsd-current/contrib/capsicum-test/ |
H A D | sctp.cc | 95 // Can only bind the fully-capable socket. 96 EXPECT_NOTCAPABLE(bind(cap_sock_rw, (struct sockaddr *)&addr, len)); 97 EXPECT_OK(bind(cap_sock_all, (struct sockaddr *)&addr, len));
|
H A D | syscalls.h | 107 #define bind_ bind 201 #define bind_ bind
|
/freebsd-current/contrib/netbsd-tests/fs/tmpfs/ |
H A D | h_tools.c | 252 error = bind(fd, (struct sockaddr *)&addr, SUN_LEN(&addr)); 254 error = bind(fd, (struct sockaddr *)&addr, sizeof(addr));
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | multicast.sh | 95 if (bind(sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 96 perror("bind");
|
H A D | unix_socket_detach2.sh | 78 if (bind(sd, (struct sockaddr *)&sun, sizeof(sun)) < 0) {
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ThreadPool.h | 68 std::bind(std::forward<Function>(F), std::forward<Args>(ArgList)...); 76 std::bind(std::forward<Function>(F), std::forward<Args>(ArgList)...);
|
/freebsd-current/usr.sbin/nfscbd/ |
H A D | nfscbd.c | 227 ret = bind(sock, (struct sockaddr *)&inetaddr, sizeof(inetaddr)); 228 /* If bind() fails, this is a restart, so just skip UDP. */ 266 if (bind(tcpsock, 268 syslog(LOG_ERR, "can't bind tcp addr");
|
/freebsd-current/usr.sbin/bluetooth/hccontrol/ |
H A D | hccontrol.c | 99 /* Create socket and bind it */ 130 if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) 131 err(2, "Could not bind socket, node=%s", node); 304 if (bind(s, (struct sockaddr *) &addr, sizeof(addr)) < 0) 305 err(10, "Could not bind socket");
|
/freebsd-current/sys/dev/bhnd/tools/ |
H A D | nvram_map_gen.awk | 214 # SROM pending bind operation 812 # Assert that callers correctly flushed any pending bind before 815 errorx("can't set relative offset with a pending bind") 899 # Flush any pending bind for the previous variable 989 # Flush any pending bind before adjusting the offset 1069 # value, false if the skip values exceed the limits of the bind opcode 1077 # value, false if the skip values exceed the limits of the bind opcode 1085 # values, false if the skip values exceed the limits of the bind opcode 1130 # Try to coalesce a BIND for the given segment with an existing bind request, 1133 function srom_opbind_append(bind, segmen [all...] |
/freebsd-current/contrib/netbsd-tests/net/mcast/ |
H A D | mcast.c | 216 cause = f == bind ? "bind" : "connect"; 219 if ((f == bind || f == connector) && addmc(s, ai, bug) == -1) { 320 s = getsocket(host, port, bind, &slen, bug);
|