Searched refs:sockfd (Results 1 – 9 of 9) sorted by relevance
/libuv/src/unix/ |
H A D | os390.c | 283 int sockfd; in uv__interface_addresses_v6() local 302 uv__close(sockfd); in uv__interface_addresses_v6() 315 uv__close(sockfd); in uv__interface_addresses_v6() 336 uv__close(sockfd); in uv__interface_addresses_v6() 344 uv__close(sockfd); in uv__interface_addresses_v6() 398 uv__close(sockfd); in uv__interface_addresses_v6() 405 int sockfd; in uv_interface_addresses() local 430 if (0 > sockfd) { in uv_interface_addresses() 441 uv__close(sockfd); in uv_interface_addresses() 451 uv__close(sockfd); in uv_interface_addresses() [all …]
|
H A D | tcp.c | 65 int sockfd; in new_socket() local 68 sockfd = uv__socket(domain, SOCK_STREAM, 0); in new_socket() 69 if (sockfd < 0) in new_socket() 70 return sockfd; in new_socket() 72 err = uv__stream_open((uv_stream_t*) handle, sockfd, flags); in new_socket() 74 uv__close(sockfd); in new_socket() 79 return maybe_bind_socket(sockfd); in new_socket() 86 int sockfd; in maybe_new_socket() local 92 sockfd = uv__stream_fd(handle); in maybe_new_socket() 93 if (sockfd == -1) in maybe_new_socket() [all …]
|
H A D | pipe.c | 67 int sockfd; in uv_pipe_bind2() local 123 sockfd = err; in uv_pipe_bind2() 129 if (bind(sockfd, (struct sockaddr*)&saddr, addrlen)) { in uv_pipe_bind2() 135 uv__close(sockfd); in uv_pipe_bind2() 142 handle->io_watcher.fd = sockfd; in uv_pipe_bind2()
|
H A D | core.c | 505 int sockfd; in uv__socket() local 510 if (sockfd != -1) in uv__socket() 511 return sockfd; in uv__socket() 518 if (sockfd == -1) in uv__socket() 521 err = uv__nonblock(sockfd, 1); in uv__socket() 523 err = uv__cloexec(sockfd, 1); in uv__socket() 526 uv__close(sockfd); in uv__socket() 537 return sockfd; in uv__socket() 557 int uv__accept(int sockfd) { in uv__accept() argument 562 assert(sockfd >= 0); in uv__accept() [all …]
|
H A D | aix.c | 1118 int sockfd, sock6fd, inet6, i, r, size = 1; in uv_interface_addresses() local 1130 if (0 > (sockfd = socket(AF_INET, SOCK_DGRAM, IPPROTO_IP))) { in uv_interface_addresses() 1140 if (ioctl(sockfd, SIOCGSIZIFCONF, &size) == -1) { in uv_interface_addresses() 1151 if (ioctl(sockfd, SIOCGIFCONF, &ifc) == -1) { in uv_interface_addresses() 1170 if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) { in uv_interface_addresses() 1205 if (ioctl(sockfd, SIOCGIFFLAGS, &flg) == -1) in uv_interface_addresses() 1233 if (ioctl(sockfd, SIOCGIFNETMASK, p) == -1) in uv_interface_addresses() 1275 if (sockfd != -1) in uv_interface_addresses() 1276 uv__close(sockfd); in uv_interface_addresses()
|
H A D | sunos.c | 775 int sockfd; in uv__set_phys_addr() local 800 sockfd = socket(AF_INET, SOCK_DGRAM, 0); in uv__set_phys_addr() 801 if (sockfd < 0) in uv__set_phys_addr() 804 if (ioctl(sockfd, SIOCGARP, (char*)&arpreq) == -1) { in uv__set_phys_addr() 805 uv__close(sockfd); in uv__set_phys_addr() 809 uv__close(sockfd); in uv__set_phys_addr()
|
H A D | udp.c | 468 struct sockaddr_in sockfd; in uv__sock_reuseaddr() local 469 unsigned int sockfd_len = sizeof(sockfd); in uv__sock_reuseaddr() 470 if (getsockname(fd, (struct sockaddr*) &sockfd, &sockfd_len) == -1) in uv__sock_reuseaddr() 472 if (sockfd.sin_family == AF_UNIX) { in uv__sock_reuseaddr()
|
H A D | internal.h | 289 int uv__accept(int sockfd);
|
/libuv/docs/code/uvwget/ |
H A D | main.c | 13 curl_socket_t sockfd; member 16 curl_context_t *create_curl_context(curl_socket_t sockfd) { in create_curl_context() argument 21 context->sockfd = sockfd; in create_curl_context() 23 int r = uv_poll_init_socket(loop, &context->poll_handle, sockfd); in create_curl_context() 93 curl_multi_socket_action(curl_handle, context->sockfd, flags, &running_handles); in curl_perform()
|
Completed in 35 milliseconds