Searched refs:bind (Results 1 - 20 of 20) sorted by relevance

/darwin-on-arm/xnu/libsyscall/wrappers/legacy/
H A Dmodule.mk16 bind.c \
H A Dbind.c43 * bind stub, legacy version
46 bind(int s, const struct sockaddr *name, socklen_t namelen) function
/darwin-on-arm/xnu/tools/tests/libMicro/
H A DMakefile.benchmarks35 bind \
H A Dgetsockname.c95 if (bind(sock, (struct sockaddr *)&adds,
101 perror("bind");
H A Dlisten.c98 if (bind(sock, (struct sockaddr *)&adds,
104 perror("bind");
H A Dgetpeername.c100 if (bind(sock2, (struct sockaddr *)&adds,
106 perror("bind");
H A Dbind.c32 * benchmark for bind... keep in mind tcp hash chain effects
68 " [-z bind to port 0 rather than seq. number\n"
69 "notes: measures bind() on TCP");
143 if ((bind(ts->ts_lsns[i],
H A Dclose_tcp.c133 if (bind(ts->ts_lsns[i],
140 perror("bind");
H A Dconnection.c167 if (bind(ts->ts_lsns[i],
H A Dpipe.c365 if (bind(ts->ts_lsn,
H A Dbench.sh440 bind $OPTS -N "bind" -B 100
H A Dcoreos_bench.sh466 bind $OPTS -N "bind" -B 100
H A Dembd_bench.sh451 bind $OPTS -N "bind" -B 100
/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_select_tcp.c273 * Get a TCP socket, bind it, figure out the port,
297 if (bind(sock, (struct sockaddr*)&s, sizeof(s)) < 0) {
298 perror("bind");
358 } while (bind(sock, (struct sockaddr*)&sin, sizeof(sin)) == -1);
366 if (bind(sock, (struct sockaddr*)&sin, sizeof(sin)) < 0) {
367 perror("bind");
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile30 bind.2 \
/darwin-on-arm/xnu/bsd/sys/
H A Dsocket.h227 #define SO_NOTIFYCONFLICT 0x1026 /* APPLE: send notification if there is a bind on a port which is already in use */
930 int bind(int, const struct sockaddr *, socklen_t) __DARWIN_ALIAS(bind); variable
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dsocket_tests.c17 * Test accept, bind, connect, listen, socket, recvmsg, sendmsg, recvfrom, sendto, getpeername, getsockname
87 my_err = bind( my_socket_fd, my_sockaddr, my_sockaddr->sa_len );
89 printf( "bind call in child failed with error %d - \"%s\" \n", errno, strerror( errno) );
137 my_err = bind( my_child_fd, my_sockaddr, my_sockaddr->sa_len );
140 printf( "bind call in child failed with error %d - \"%s\" \n", errno, strerror( errno) );
/darwin-on-arm/xnu/osfmk/kern/
H A Dtask.h658 extern int proc_lf_pidbind(task_t curtask, uint64_t tid, task_t target_task, int bind);
H A Dtask_policy.c1905 proc_lf_pidbind(task_t curtask, uint64_t tid, task_t target_task, int bind) argument
1931 if (bind != 0) {
/darwin-on-arm/xnu/bsd/kern/
H A Duipc_syscalls.c234 bind(__unused proc_t p, struct bind_args *uap, __unused int32_t *retval) function

Completed in 117 milliseconds