/freebsd-current/tools/tools/kttcp/ |
H A D | kttcp.c | 233 if (bind(s, res->ai_addr, res->ai_addrlen) < 0) 234 err(2, "bind");
|
/freebsd-current/tools/regression/tmpfs/ |
H A D | h_tools.c | 215 error = bind(fd, (struct sockaddr *)&addr, sizeof(addr));
|
/freebsd-current/usr.sbin/ipfwpcap/ |
H A D | ipfwpcap.c | 201 if (debug) fprintf(stderr, "bind to %d.\ndump to '%s'.\n", portnum, dumpf); 213 if (bind(sd, (struct sockaddr *)&sin, sizeof(sin)) == -1) { 214 perror("bind(divert)");
|
/freebsd-current/usr.sbin/ppp/ |
H A D | id.c | 233 result = bind(s, (const struct sockaddr *)name, sizeof *name); 234 log_Printf(LogID0, "%d = bind(%d, \"%s\", %d)\n",
|
/freebsd-current/sbin/nos-tun/ |
H A D | nos-tun.c | 322 if (bind(net, &wherefrom, sizeof(wherefrom)) < 0) { 323 syslog(LOG_ERR, "can't bind source address - %m");
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | sendfile25.sh | 123 if (bind(tcpsock, 125 err(1, "bind(), %s:%d", __FILE__, __LINE__);
|
H A D | setsockopt2.sh | 140 if (bind(fd, (struct sockaddr *)&sun, sizeof(sun)) < 0)
|
/freebsd-current/contrib/libevent/sample/ |
H A D | dns-example.c | 209 if (bind(sock, (struct sockaddr*)&my_addr, sizeof(my_addr))<0) { 210 perror("bind");
|
/freebsd-current/tools/regression/netinet/ipbroadcast/ |
H A D | ipbroadcast.c | 86 fprintf(stderr, "-b: bind socket to <laddr>:<lport>\n"); 272 ret = bind(s, (struct sockaddr *)&laddr, sizeof(laddr)); 274 perror("bind");
|
/freebsd-current/tests/sys/netinet/ |
H A D | tcp_connect_port_test.c | 183 error = bind(lsock, addr, addr->sa_len); 184 ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno));
|
/freebsd-current/sbin/ipf/ipfsync/ |
H A D | ipsyncs.c | 127 if (bind(nfd, (struct sockaddr *)&sin, sizeof(sin)) == -1) {
|
/freebsd-current/sbin/ipf/ipsend/ |
H A D | sock.c | 270 if (bind(fd, (struct sockaddr *)&lsin, sizeof(lsin)) == -1) 272 perror("bind");
|
/freebsd-current/lib/libnetgraph/ |
H A D | sock.c | 101 if (bind(cs, (struct sockaddr *) sg, sg->sg_len) < 0) { 104 NGLOG("bind(%s)", sg->sg_data);
|
/freebsd-current/usr.sbin/nfsd/ |
H A D | nfsd.c | 518 if (bind(sock, ai_udp->ai_addr, 521 "can't bind udp addr %s: %m", 591 if (bind(sock, ai_udp6->ai_addr, 594 "can't bind udp6 addr %s: %m", 664 if (bind(tcpsock, ai_tcp->ai_addr, 667 "can't bind tcp addr %s: %m", 742 if (bind(tcp6sock, ai_tcp6->ai_addr, 745 "can't bind tcp6 addr %s: %m",
|
/freebsd-current/contrib/sendmail/src/ |
H A D | control.c | 104 if (bind(ControlSocket, (struct sockaddr *) &controladdr,
|
/freebsd-current/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
H A D | RawMemProfReader.h | 71 std::bind(&MemProfReader::idToFrame, this, std::placeholders::_1);
|
/freebsd-current/tests/sys/kern/ |
H A D | socket_accf.c | 50 ATF_REQUIRE(bind(l, (struct sockaddr *)sin, sizeof(*sin)) == 0);
|
H A D | unix_seqpacket_test.c | 93 r = bind(s, (struct sockaddr *)&sun, sizeof(sun)); 105 * Returns a pair of sockets made the hard way: bind, listen, connect & accept 436 /* Call listen(2) without first calling bind(2). It should fail */ 445 /* expect listen to fail since we haven't called bind(2) */ 451 ATF_TC_WITHOUT_HEAD(bind); variable 452 ATF_TC_BODY(bind, tc) 466 r = bind(s, (struct sockaddr *)&sun, sizeof(sun)); 808 * traditional way, involving bind, listen, connect, and accept 1295 ATF_TP_ADD_TC(tp, bind);
|
/freebsd-current/contrib/ofed/librdmacm/ |
H A D | preload.c | 62 int (*bind)(int socket, const struct sockaddr *addr, socklen_t addrlen); member in struct:socket_calls 387 real.bind = dlsym(RTLD_NEXT, "bind"); 414 rs.bind = dlsym(RTLD_DEFAULT, "rbind"); 566 int bind(int socket, const struct sockaddr *addr, socklen_t addrlen) function 570 rbind(fd, addr, addrlen) : real.bind(fd, addr, addrlen);
|
/freebsd-current/contrib/wpa/wpa_supplicant/ |
H A D | ctrl_iface_unix.c | 622 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 623 wpa_printf(MSG_DEBUG, "ctrl_iface bind(PF_UNIX) failed: %s", 636 if (bind(priv->sock, (struct sockaddr *) &addr, 638 wpa_printf(MSG_ERROR, "supp-ctrl-iface-init: bind(PF_UNIX): %s", 1248 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 1251 "bind(PF_UNIX;%s) failed: %s", 1261 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 1262 wpa_printf(MSG_INFO, "supp-global-ctrl-iface-init(%s) (will try fixup): bind(PF_UNIX): %s", 1275 if (bind(priv->sock, (struct sockaddr *) &addr, 1277 wpa_printf(MSG_ERROR, "supp-glb-iface-init: bind(PF_UNI [all...] |
H A D | ctrl_iface_udp.c | 458 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 462 wpa_printf(MSG_ERROR, "bind(AF_INET): %s", strerror(errno)); 793 if (bind(priv->sock, (struct sockaddr *) &addr, sizeof(addr)) < 0) { 798 wpa_printf(MSG_ERROR, "bind(AF_INET): %s", strerror(errno));
|
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | RegionStore.cpp | 348 /// LazyCompoundVal on bind. 358 /// LazyCompoundVal on bind. 443 return StoreRef(bind(getRegionBindings(store), LV, V).asStore(), *this); 446 RegionBindingsRef bind(RegionBindingsConstRef B, Loc LV, SVal V); 484 /// Attempt to extract the fields of \p LCV and bind them to the struct region 488 /// within a LazyCompoundVal to bind memberwise to the struct region, rather 1074 to(varDecl(hasStaticStorageDuration()).bind(DeclBind))))); 2360 RegionStoreManager::bind(RegionBindingsConstRef B, Loc L, SVal V) { function in class:RegionStoreManager 2452 NewB = bind(NewB, loc::MemRegionVal(DstER), V); 2470 // Check if the init expr is a literal. If so, bind th [all...] |
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CStringChecker.cpp | 128 std::bind(&CStringChecker::evalMemcpy, _1, _2, _3, CK_Regular)}, 130 std::bind(&CStringChecker::evalMemcpy, _1, _2, _3, CK_Wide)}, 132 std::bind(&CStringChecker::evalMempcpy, _1, _2, _3, CK_Regular)}, 134 std::bind(&CStringChecker::evalMempcpy, _1, _2, _3, CK_Wide)}, 136 std::bind(&CStringChecker::evalMemcmp, _1, _2, _3, CK_Regular)}, 138 std::bind(&CStringChecker::evalMemcmp, _1, _2, _3, CK_Wide)}, 140 std::bind(&CStringChecker::evalMemmove, _1, _2, _3, CK_Regular)}, 142 std::bind(&CStringChecker::evalMemmove, _1, _2, _3, CK_Wide)}, 164 std::bind(&CStringChecker::evalMemcmp, _1, _2, _3, CK_Regular)}, 1245 // the value of the second argument of 'memset()' is zero, bind th [all...] |
/freebsd-current/contrib/bsnmp/snmpd/ |
H A D | trans_lsock.c | 315 if (bind(p->str_sock, (struct sockaddr *)&sa, sizeof(sa))) { 321 syslog(LOG_ERR, "bind: %s %m", p->name); 369 if (bind(peer->input.fd, (struct sockaddr *)&sa, sizeof(sa))) { 375 syslog(LOG_ERR, "bind: %s %m", p->name);
|
/freebsd-current/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tcp.c | 280 if (bind(tctx->tc_fd, (struct sockaddr *)&sa, 422 if (bind(tctx->tc_fd, (struct sockaddr *)&tctx->tc_sa,
|