Searched defs:sock (Results 1 - 5 of 5) sorted by relevance
/bionic/libc/unistd/ |
H A D | socketcalls.c | 106 int accept(int sock, struct sockaddr *adresse, socklen_t *longueur) argument 110 t[0] = (unsigned long) sock;
|
/bionic/libc/netbsd/net/ |
H A D | getnameinfo.c | 144 int sock; local 167 sock = socket(AF_UNIX, SOCK_STREAM, 0); 168 if (sock < 0) { 172 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); 177 if (TEMP_FAILURE_RETRY(connect(sock, (const struct sockaddr*) (void*) &proxy_addr, 179 close(sock); 184 proxy = fdopen(sock,"r+");
|
H A D | getaddrinfo.c | 412 int sock; local 448 sock = socket(AF_UNIX, SOCK_STREAM, 0); 449 if (sock < 0) { 453 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one)); 458 if (TEMP_FAILURE_RETRY(connect(sock, 461 close(sock); 466 proxy = fdopen(sock, "r+"); 1780 int sock; local 1796 sock = socket(addr->sa_family, SOCK_DGRAM, IPPROTO_UDP); 1797 if (sock [all...] |
/bionic/libc/kernel/common/linux/sunrpc/ |
H A D | xprt.h | 105 struct socket * sock; member in struct:rpc_xprt 106 struct sock * inet; 170 void (*old_data_ready)(struct sock *, int); 171 void (*old_state_change)(struct sock *); 172 void (*old_write_space)(struct sock *);
|
/bionic/libc/netbsd/resolv/ |
H A D | res_send.c | 160 static int connect_with_timeout(int sock, const struct sockaddr *nsap, 162 static int retrying_select(const int sock, fd_set *readset, fd_set *writeset, 915 connect_with_timeout(int sock, const struct sockaddr *nsap, socklen_t salen, int sec) argument 921 origflags = fcntl(sock, F_GETFL, 0); 922 fcntl(sock, F_SETFL, origflags | O_NONBLOCK); 924 res = connect(sock, nsap, salen); 935 " %d send_vc\n", sock); 938 res = retrying_select(sock, &rset, &wset, &finish); 944 fcntl(sock, F_SETFL, origflags); 947 " %d connect_with_timeout returning %s\n", sock, re 953 retrying_select(const int sock, fd_set *readset, fd_set *writeset, const struct timespec *finish) argument [all...] |
Completed in 571 milliseconds