/external/strace/tests/ |
net-y-unix.c | 95 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); local 96 if (connect_fd < 0) 98 unsigned long connect_inode = inode_of_sockfd(connect_fd); 100 connect_fd, connect_inode); 102 if (connect(connect_fd, listen_sa, *len)) 106 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); 123 if (getpeername(connect_fd, listen_sa, len)) 126 ", sun_path=\"%s\"}, [%d->%d]) = 0\n", connect_fd, connect_inode, 130 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) 134 connect_fd, connect_inode, text [all...] |
net-yy-unix.c | 96 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); local 97 if (connect_fd < 0) 99 unsigned long connect_inode = inode_of_sockfd(connect_fd); 101 connect_fd, connect_inode); 103 if (connect(connect_fd, listen_sa, *len)) 107 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); 124 if (getpeername(connect_fd, listen_sa, len)) 128 connect_fd, connect_inode, 132 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) 136 connect_fd, connect_inode, accept_inode, text [all...] |
net-yy-inet.c | 93 const int connect_fd = socket(AF_INET, SOCK_STREAM, 0); local 94 if (connect_fd < 0) 96 const unsigned long connect_inode = inode_of_sockfd(connect_fd); 98 connect_fd, connect_inode); 101 if (connect(connect_fd, listen_sa, *len)) 105 connect_fd, connect_inode, listen_port, (unsigned) *len); 133 if (getpeername(connect_fd, listen_sa, len)) 138 connect_fd, connect_port, listen_port, listen_port, 142 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) 146 connect_fd, connect_port, listen_port, *optval [all...] |
/external/strace/tests-m32/ |
net-y-unix.c | 95 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); local 96 if (connect_fd < 0) 98 unsigned long connect_inode = inode_of_sockfd(connect_fd); 100 connect_fd, connect_inode); 102 if (connect(connect_fd, listen_sa, *len)) 106 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); 123 if (getpeername(connect_fd, listen_sa, len)) 126 ", sun_path=\"%s\"}, [%d->%d]) = 0\n", connect_fd, connect_inode, 130 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) 134 connect_fd, connect_inode, text [all...] |
net-yy-unix.c | 96 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); local 97 if (connect_fd < 0) 99 unsigned long connect_inode = inode_of_sockfd(connect_fd); 101 connect_fd, connect_inode); 103 if (connect(connect_fd, listen_sa, *len)) 107 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); 124 if (getpeername(connect_fd, listen_sa, len)) 128 connect_fd, connect_inode, 132 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) 136 connect_fd, connect_inode, accept_inode, text [all...] |
net-yy-inet.c | 93 const int connect_fd = socket(AF_INET, SOCK_STREAM, 0); local 94 if (connect_fd < 0) 96 const unsigned long connect_inode = inode_of_sockfd(connect_fd); 98 connect_fd, connect_inode); 101 if (connect(connect_fd, listen_sa, *len)) 105 connect_fd, connect_inode, listen_port, (unsigned) *len); 133 if (getpeername(connect_fd, listen_sa, len)) 138 connect_fd, connect_port, listen_port, listen_port, 142 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) 146 connect_fd, connect_port, listen_port, *optval [all...] |
/external/strace/tests-mx32/ |
net-y-unix.c | 95 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); local 96 if (connect_fd < 0) 98 unsigned long connect_inode = inode_of_sockfd(connect_fd); 100 connect_fd, connect_inode); 102 if (connect(connect_fd, listen_sa, *len)) 106 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); 123 if (getpeername(connect_fd, listen_sa, len)) 126 ", sun_path=\"%s\"}, [%d->%d]) = 0\n", connect_fd, connect_inode, 130 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) 134 connect_fd, connect_inode, text [all...] |
net-yy-unix.c | 96 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); local 97 if (connect_fd < 0) 99 unsigned long connect_inode = inode_of_sockfd(connect_fd); 101 connect_fd, connect_inode); 103 if (connect(connect_fd, listen_sa, *len)) 107 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); 124 if (getpeername(connect_fd, listen_sa, len)) 128 connect_fd, connect_inode, 132 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) 136 connect_fd, connect_inode, accept_inode, text [all...] |
net-yy-inet.c | 93 const int connect_fd = socket(AF_INET, SOCK_STREAM, 0); local 94 if (connect_fd < 0) 96 const unsigned long connect_inode = inode_of_sockfd(connect_fd); 98 connect_fd, connect_inode); 101 if (connect(connect_fd, listen_sa, *len)) 105 connect_fd, connect_inode, listen_port, (unsigned) *len); 133 if (getpeername(connect_fd, listen_sa, len)) 138 connect_fd, connect_port, listen_port, listen_port, 142 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) 146 connect_fd, connect_port, listen_port, *optval [all...] |
/external/ltp/testcases/network/lib6/ |
asapi_01.c | 336 static int listen_fd, connect_fd; variable 340 connect_fd = accept(listen_fd, 0, 0); 373 fd[1] = connect_fd;
|
/external/libmicrohttpd/src/examples/ |
mhd2spdy_http.c | 108 ret = setsockopt(info->connect_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val));
|
/external/libmicrohttpd/src/include/ |
microhttpd.h | 1063 MHD_socket connect_fd; member in union:MHD_ConnectionInfo [all...] |