Searched refs:bind (Results 76 - 100 of 468) sorted by relevance

1234567891011>>

/freebsd-current/tests/sys/netinet/
H A Dtcp_md5_getsockopt.c85 if ((bind(ssock, (struct sockaddr *)s, len) == -1))
H A Dip6_v4mapped_test.c203 "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 Dfind_interface.c87 rv = bind(s, (struct sockaddr *)&local, sizeof local);
92 err(EX_OSERR, "bind");
/freebsd-current/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_data_spromvar.h86 * 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 Dtcpfullwindowrsttest.c82 if (bind(s, (struct sockaddr *) &sa, sizeof sa) == -1)
/freebsd-current/tools/regression/sockets/unix_close_race/
H A Dunix_close_race.c90 if (bind(listenfd, (struct sockaddr *) &servaddr,
92 err(1, "parent: bind error");
/freebsd-current/tools/regression/sockets/listenclose/
H A Dlistenclose.c74 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 Dlisten_kqueue.c77 if (bind(sock, (struct sockaddr *)&addr, sizeof(addr)) == -1)
78 err(1, "bind");
/freebsd-current/tools/regression/sockets/shutdown/
H A Dshutdown.c65 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 Dreconnect.c77 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 DLoopWidening.cpp73 varDecl(hasType(hasCanonicalType(referenceType()))).bind(MatchRef)))),
/freebsd-current/contrib/kyua/store/
H A Dread_transaction_test.cpp89 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 Dsymtab.c85 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 Dzerosend.c89 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 Dbindat_connectat.c96 "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 Dmpeix.c80 ** 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 Dsocket_msg_trunc.c94 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 DUnsafeBufferUsage.cpp457 ).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 Dmachines.c131 /* 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 Dstatement_test.cpp541 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 Dt_connect.c59 /* bind listening socket */
65 ATF_REQUIRE_EQ(bind(slist,
H A Dt_listen.c76 ATF_REQUIRE(bind(fda, (struct sockaddr *)&sina, siz) == 0);
/freebsd-current/contrib/netbsd-tests/net/sys/
H A Dt_rfc6056.c91 if (bind(s, (struct sockaddr *)&ss, ss.ss_len) == -1)
92 err(EXIT_FAILURE, "bind");
/freebsd-current/contrib/netbsd-tests/net/net/
H A Dt_udp.c40 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 Dl_stdlib.h70 extern int bind (int, struct sockaddr *, int);

Completed in 300 milliseconds

1234567891011>>