/freebsd-current/contrib/libpcap/ |
H A D | pcap-nit.c | 303 if (bind(fd, (struct sockaddr *)&snit, sizeof(snit))) { 305 * XXX - there's probably a particular bind error that 306 * means "there's no such device" and a particular bind 312 errno, "bind: %s", snit.snit_ifname); 385 * XXX - there's probably a particular bind error that means "that device 386 * doesn't support NIT"; if so, we should try a bind and use that.
|
/freebsd-current/contrib/ntp/sntp/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/test/stress2/misc/ |
H A D | sendfile24.sh | 122 if (bind(tcpsock, 124 err(1, "bind(), %s:%d", __FILE__, __LINE__);
|
H A D | tcp4.sh | 86 if (bind(tcpsock, 88 err(1, "bind(), %s:%d", __FILE__, __LINE__);
|
H A D | sendfile22.sh | 224 if (bind(tcpsock, 226 err(1, "bind(), %s:%d", __FILE__, __LINE__);
|
H A D | sendfile19.sh | 129 if (bind(tcpsock, 131 err(1, "bind(), %s:%d", __FILE__, __LINE__);
|
H A D | sendfile20.sh | 130 if (bind(tcpsock, 132 err(1, "bind(), %s:%d", __FILE__, __LINE__);
|
/freebsd-current/lib/libc/include/ |
H A D | un-namespace.h | 37 #undef bind macro
|
H A D | namespace.h | 56 #define bind _bind macro
|
/freebsd-current/lib/libsdp/ |
H A D | session.c | 70 if (bind(ss->s, (struct sockaddr *) &sa, sizeof(sa)) < 0) {
|
/freebsd-current/sys/dev/virtio/gpu/ |
H A D | virtio_gpu.h | 269 uint32_t bind; member in struct:virtio_gpu_resource_create_3d
|
/freebsd-current/sys/dev/drm2/ttm/ |
H A D | ttm_bo_driver.h | 44 * struct ttm_backend_func member bind 54 int (*bind) (struct ttm_tt *ttm, struct ttm_mem_reg *bo_mem); member in struct:ttm_backend_func 1007 * bind and unbind memory backing a ttm_tt.
|
/freebsd-current/usr.sbin/apmd/contrib/ |
H A D | pccardq.c | 87 if (bind(so, (struct sockaddr *) &pccardq, pccardq.sun_len) < 0) { 88 warn("bind: %s", pccardq.sun_path);
|
/freebsd-current/usr.sbin/bluetooth/bthidd/ |
H A D | client.c | 241 if (bind(s, (struct sockaddr *) &l2addr, sizeof(l2addr)) < 0) {
|
/freebsd-current/usr.sbin/bluetooth/btpand/ |
H A D | server.c | 112 if (bind(server_fd, (struct sockaddr *)&sa, sizeof(sa)) == -1) { 113 log_err("Could not bind server socket: %m");
|
H A D | client.c | 74 if (bind(fd, (struct sockaddr *)&sa, sizeof(sa)) == -1) { 75 log_err("Could not bind client socket: %m");
|
/freebsd-current/usr.sbin/bluetooth/l2ping/ |
H A D | l2ping.c | 170 if (bind(s, (struct sockaddr *) &sa, sizeof(sa)) < 0) 172 "Could not bind socket, src bdaddr=%s", bt_ntoa(&sa.l2cap_bdaddr, NULL));
|
/freebsd-current/tools/tools/netrate/httpd/ |
H A D | httpd.c | 271 if (bind(statep->listen_sock, (struct sockaddr *)&sin, 273 err(-1, "bind");
|
/freebsd-current/tools/tools/netrate/netreceive/ |
H A D | netreceive.c | 250 if (bind(s[nsock], res->ai_addr, res->ai_addrlen) < 0) { 251 cause = "bind";
|
/freebsd-current/tools/tools/netrate/tcpp/ |
H A D | tcpp_server.c | 247 if (bind(listen_sock, (struct sockaddr *)&localipbase, 249 err(-1, "bind");
|
/freebsd-current/tools/test/netfibs/ |
H A D | reflect.c | 238 rc = bind(s, (struct sockaddr *)&sin6, sizeof(sin6)); 240 err(EX_OSERR, "bind(%d)", s);
|
/freebsd-current/tests/sys/fs/fusefs/ |
H A D | fifo.cc | 194 ASSERT_EQ(0, bind(fd, (struct sockaddr*)&sa, sizeof(sa)))
|
/freebsd-current/tools/regression/netinet/tcpdrop/ |
H A D | tcpdrop.c | 222 if (bind(listen_fd, (struct sockaddr *)&sin, sizeof(sin)) < 0) 223 err(-1, "bind");
|
/freebsd-current/tools/regression/sockets/accf_data_attach/ |
H A D | accf_data_attach.c | 48 * - That bind() has no affect on the accept filter state. 112 if (bind(lso, (struct sockaddr *)&sin, sizeof(sin)) < 0) 113 errx(-1, "not ok 3 - bind %s", strerror(errno)); 114 printf("ok 3 - bind\n"); 117 * Step 3: After bind(). getsockopt() should return EINVAL, since no 123 errx(-1, "not ok 4 - getsockopt() after bind() succeeded"); 125 errx(-1, "not ok 4 - getsockopt() after bind() failed with %d (%s)",
|
/freebsd-current/tools/regression/sockets/sigpipe/ |
H A D | sigpipe.c | 201 if (bind(listen_sock, (struct sockaddr *)&sin, sizeof(sin)) < 0) 202 err(-1, "tcp_setup: bind");
|