/freebsd-current/tests/sys/netinet/ |
H A D | tcp_md5_getsockopt.c | 85 if ((bind(ssock, (struct sockaddr *)s, len) == -1))
|
H A D | ip6_v4mapped_test.c | 203 "Check local port assignment with bind and mapped V4 addresses"); 208 * this should fail on a bind() call with EADDRNOTAVAIL. However, in 209 * previous systems, the bind() would succeed, binding a duplicate port, 238 error = bind(lsock, &su_srvr.saddr, sizeof(su_srvr.saddr4)); 239 ATF_REQUIRE_MSG(error == 0, "bind() failed: %s", strerror(errno)); 264 /* Set up address to bind for client sockets (unspecified). */ 280 * A bind would not be necessary for operation, but 283 error = bind(csock, &su_clnt.saddr, sizeof(su_clnt.saddr6)); 290 "client bind %d failed: %s", i, strerror(errno)); 312 ATF_REQUIRE_MSG(got_bind_error == true, "No expected bind erro [all...] |
/freebsd-current/share/examples/find_interface/ |
H A D | find_interface.c | 87 rv = bind(s, (struct sockaddr *)&local, sizeof local); 92 err(EX_OSERR, "bind");
|
/freebsd-current/sys/dev/bhnd/nvram/ |
H A D | bhnd_nvram_data_spromvar.h | 86 * SPROM opcode per-bind evaluation state. 100 uint32_t mask; /**< current bind input mask */ 101 int8_t shift; /**< current bind input shift */ 102 bhnd_nvram_type base_type; /**< current bind input type */ 104 bhnd_sprom_opcode_bind bind; /**< current bind state */ member in struct:bhnd_sprom_opcode_var 105 bool have_bind; /**< if bind state is defined */ 106 size_t bind_total; /**< total count of bind operations performed */
|
/freebsd-current/tools/regression/netinet/tcpfullwindowrst/ |
H A D | tcpfullwindowrsttest.c | 82 if (bind(s, (struct sockaddr *) &sa, sizeof sa) == -1)
|
/freebsd-current/tools/regression/sockets/unix_close_race/ |
H A D | unix_close_race.c | 90 if (bind(listenfd, (struct sockaddr *) &servaddr, 92 err(1, "parent: bind error");
|
/freebsd-current/tools/regression/sockets/listenclose/ |
H A D | listenclose.c | 74 if (bind(listen_sock, (struct sockaddr *)&sin, sizeof(sin)) < 0) 75 errx(-1, "bind(%s, %d) for listen socket: %s",
|
/freebsd-current/tools/regression/sockets/listen_kqueue/ |
H A D | listen_kqueue.c | 77 if (bind(sock, (struct sockaddr *)&addr, sizeof(addr)) == -1) 78 err(1, "bind");
|
/freebsd-current/tools/regression/sockets/shutdown/ |
H A D | shutdown.c | 65 if (bind(listen_sock, (struct sockaddr *)&sock, sizeof(sock)) < 0) 66 errx(-1, "bind(%s, %d) for listen socket: %s",
|
/freebsd-current/tools/regression/sockets/reconnect/ |
H A D | reconnect.c | 77 if (bind(sock, sstosa(&ifsun), sizeof(ifsun)) < 0) 78 err(1, "can't bind to a socket");
|
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | LoopWidening.cpp | 73 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))),
|
/freebsd-current/contrib/kyua/store/ |
H A D | read_transaction_test.cpp | 89 stmt.bind(":cwd", sqlite::blob(buffer, sizeof(buffer))); 119 stmt.bind(":var_name", sqlite::blob(buffer, sizeof(buffer))); 140 stmt.bind(":var_value", sqlite::blob(buffer, sizeof(buffer)));
|
/freebsd-current/contrib/libexecinfo/ |
H A D | symtab.c | 85 symtab_create(int fd, int bind, int type) argument 146 if (bind != -1 && 147 (unsigned)bind != ELF_ST_BIND(sym.st_info))
|
/freebsd-current/tools/regression/sockets/zerosend/ |
H A D | zerosend.c | 89 if (bind(sock1, (struct sockaddr *)&sin, sizeof(sin)) < 0) 90 err(1, "%s: setup_udp: bind(%s, %d)", test, 100 if (bind(sock2, (struct sockaddr *)&sin, sizeof(sin)) < 0) 101 err(1, "%s: setup_udp: bind(%s, %d)", test, 132 if (bind(sock1, (struct sockaddr *)&sin, sizeof(sin)) < 0) 133 err(1, "%s: bind(%s, %d)", test, inet_ntoa(sin.sin_addr),
|
/freebsd-current/tests/sys/capsicum/ |
H A D | bindat_connectat.c | 96 "Verify that connect/bind work in normal case"); 119 check_1(bind, 0, &sin); 129 "Verify that connect/bind are disabled in cap-mode"); 164 check_2(bind, sock, &sin); 175 "sabotages bind/connect"); 210 check_3(bind, 0, &sin,
|
/freebsd-current/contrib/sendmail/libsm/ |
H A D | mpeix.c | 80 ** SENDMAIL_MPE_BIND -- shadow function for the standard socket bind() 94 #undef bind macro 117 result = bind(sd, addr, addrlen); 124 return bind(sd, addr, addrlen);
|
/freebsd-current/tests/sys/kern/ |
H A D | socket_msg_trunc.c | 94 rc = bind(ss, sa, sa->sa_len); 95 ATF_REQUIRE_MSG(rc == 0, "bind failed: %s", strerror(errno)); 121 rc = bind(ss, sa, sa->sa_len); 122 ATF_REQUIRE_MSG(rc == 0, "bind failed: %s", strerror(errno)); 146 rc = bind(ss, sa, sa->sa_len); 147 ATF_REQUIRE_MSG(rc == 0, "bind failed: %s", strerror(errno));
|
/freebsd-current/contrib/llvm-project/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 457 ).bind(OpTag)); 492 ).bind(OpTag)); 532 .bind(ArraySubscrTag)); 572 hasRHS(expr(hasPointerType()).bind(PointerArithmeticPointerTag)), 577 hasLHS(expr(hasPointerType()).bind(PointerArithmeticPointerTag)), 581 .bind(PointerArithmeticTag)); 623 bind(PointerInitRHSTag)))). 624 bind(PointerInitLHSTag))); 673 bind(PointerAssignRHSTag))), 676 bind(PointerAssignLHSTa [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | machines.c | 131 /* This is a substitute for bind() that if called for an AF_INET socket 134 #undef bind macro 156 result = bind(s,addr,addrlen); 159 result = bind(s,addr,addrlen);
|
/freebsd-current/contrib/kyua/utils/sqlite/ |
H A D | statement_test.cpp | 541 stmt.bind(1, sqlite::blob(static_cast< const void* >(blob), 2)); 559 stmt.bind(1, 0.5); 575 stmt.bind(1, 123); 591 stmt.bind(1, static_cast< int64_t >(4294967419LL)); 607 stmt.bind(1, sqlite::null()); 623 stmt.bind(1, str); 641 stmt.bind(":foo", str); 660 stmt.bind(":foo", str); 705 stmt.bind(1, 5);
|
/freebsd-current/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_connect.c | 59 /* bind listening socket */ 65 ATF_REQUIRE_EQ(bind(slist,
|
H A D | t_listen.c | 76 ATF_REQUIRE(bind(fda, (struct sockaddr *)&sina, siz) == 0);
|
/freebsd-current/contrib/netbsd-tests/net/sys/ |
H A D | t_rfc6056.c | 91 if (bind(s, (struct sockaddr *)&ss, ss.ss_len) == -1) 92 err(EXIT_FAILURE, "bind");
|
/freebsd-current/contrib/netbsd-tests/net/net/ |
H A D | t_udp.c | 40 e = bind(S, res->ai_addr, res->ai_addrlen); 41 ATF_REQUIRE_MSG(e == 0, "bind AF=%d: %s", family,
|
/freebsd-current/contrib/ntp/include/ |
H A D | l_stdlib.h | 70 extern int bind (int, struct sockaddr *, int);
|