Searched refs:sock (Results 1 - 6 of 6) sorted by relevance

/bionic/libc/kernel/common/linux/sunrpc/
H A Dxprt.h105 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 Dres_send.c160 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,
923 connect_with_timeout(int sock, const struct sockaddr *nsap, socklen_t salen, int sec) argument
929 origflags = fcntl(sock, F_GETFL, 0);
930 fcntl(sock, F_SETFL, origflags | O_NONBLOCK);
932 res = connect(sock, nsap, salen);
943 " %d send_vc\n", sock);
946 res = retrying_select(sock, &rset, &wset, &finish);
952 fcntl(sock, F_SETFL, origflags);
955 " %d connect_with_timeout returning %s\n", sock, re
961 retrying_select(const int sock, fd_set *readset, fd_set *writeset, const struct timespec *finish) argument
[all...]
/bionic/libc/netbsd/net/
H A Dgetnameinfo.c148 int sock; local
171 sock = socket(AF_UNIX, SOCK_STREAM, 0);
172 if (sock < 0) {
176 setsockopt(sock, SOL_SOCKET, SO_REUSEADDR, &one, sizeof(one));
181 if (TEMP_FAILURE_RETRY(connect(sock, (const struct sockaddr*) (void*) &proxy_addr,
183 close(sock);
188 proxy = fdopen(sock,"r+");
H A Dgetaddrinfo.c412 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/unistd/
H A Dsocketcalls.c106 int accept(int sock, struct sockaddr *adresse, socklen_t *longueur) argument
110 t[0] = (unsigned long) sock;
/bionic/libc/kernel/common/linux/
H A Dskbuff.h107 struct sock *sk;

Completed in 123 milliseconds