Home
last modified time | relevance | path

Searched refs:connect_fd (Results 1 – 12 of 12) sorted by relevance

/external/strace/tests/
Dnet-y-unix.c93 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); in main() local
94 if (connect_fd < 0) in main()
96 unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
98 connect_fd, connect_inode); in main()
100 if (connect(connect_fd, listen_sa, *len)) in main()
104 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); in main()
121 if (getpeername(connect_fd, listen_sa, len)) in main()
124 ", sun_path=\"%s\"}, [%d->%d]) = 0\n", connect_fd, connect_inode, in main()
128 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) in main()
132 connect_fd, connect_inode, text, in main()
[all …]
Dnet-yy-unix.c94 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); in main() local
95 if (connect_fd < 0) in main()
97 unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
99 connect_fd, connect_inode); in main()
101 if (connect(connect_fd, listen_sa, *len)) in main()
105 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); in main()
122 if (getpeername(connect_fd, listen_sa, len)) in main()
126 connect_fd, connect_inode, in main()
130 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) in main()
134 connect_fd, connect_inode, accept_inode, text, in main()
[all …]
Dnet-yy-inet.c91 const int connect_fd = socket(AF_INET, SOCK_STREAM, 0); in main() local
92 if (connect_fd < 0) in main()
94 const unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
96 connect_fd, connect_inode); in main()
99 if (connect(connect_fd, listen_sa, *len)) in main()
103 connect_fd, connect_inode, listen_port, (unsigned) *len); in main()
131 if (getpeername(connect_fd, listen_sa, len)) in main()
136 connect_fd, connect_port, listen_port, listen_port, in main()
140 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) in main()
144 connect_fd, connect_port, listen_port, *optval, in main()
[all …]
/external/strace/tests-mx32/
Dnet-y-unix.c93 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); in main() local
94 if (connect_fd < 0) in main()
96 unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
98 connect_fd, connect_inode); in main()
100 if (connect(connect_fd, listen_sa, *len)) in main()
104 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); in main()
121 if (getpeername(connect_fd, listen_sa, len)) in main()
124 ", sun_path=\"%s\"}, [%d->%d]) = 0\n", connect_fd, connect_inode, in main()
128 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) in main()
132 connect_fd, connect_inode, text, in main()
[all …]
Dnet-yy-unix.c94 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); in main() local
95 if (connect_fd < 0) in main()
97 unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
99 connect_fd, connect_inode); in main()
101 if (connect(connect_fd, listen_sa, *len)) in main()
105 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); in main()
122 if (getpeername(connect_fd, listen_sa, len)) in main()
126 connect_fd, connect_inode, in main()
130 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) in main()
134 connect_fd, connect_inode, accept_inode, text, in main()
[all …]
Dnet-yy-inet.c91 const int connect_fd = socket(AF_INET, SOCK_STREAM, 0); in main() local
92 if (connect_fd < 0) in main()
94 const unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
96 connect_fd, connect_inode); in main()
99 if (connect(connect_fd, listen_sa, *len)) in main()
103 connect_fd, connect_inode, listen_port, (unsigned) *len); in main()
131 if (getpeername(connect_fd, listen_sa, len)) in main()
136 connect_fd, connect_port, listen_port, listen_port, in main()
140 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) in main()
144 connect_fd, connect_port, listen_port, *optval, in main()
[all …]
/external/strace/tests-m32/
Dnet-y-unix.c93 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); in main() local
94 if (connect_fd < 0) in main()
96 unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
98 connect_fd, connect_inode); in main()
100 if (connect(connect_fd, listen_sa, *len)) in main()
104 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); in main()
121 if (getpeername(connect_fd, listen_sa, len)) in main()
124 ", sun_path=\"%s\"}, [%d->%d]) = 0\n", connect_fd, connect_inode, in main()
128 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) in main()
132 connect_fd, connect_inode, text, in main()
[all …]
Dnet-yy-unix.c94 int connect_fd = socket(AF_UNIX, SOCK_STREAM, 0); in main() local
95 if (connect_fd < 0) in main()
97 unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
99 connect_fd, connect_inode); in main()
101 if (connect(connect_fd, listen_sa, *len)) in main()
105 connect_fd, connect_inode, TEST_SOCKET, (unsigned) *len); in main()
122 if (getpeername(connect_fd, listen_sa, len)) in main()
126 connect_fd, connect_inode, in main()
130 assert(sendto(connect_fd, text, sizeof(text) - 1, MSG_DONTWAIT, NULL, 0) in main()
134 connect_fd, connect_inode, accept_inode, text, in main()
[all …]
Dnet-yy-inet.c91 const int connect_fd = socket(AF_INET, SOCK_STREAM, 0); in main() local
92 if (connect_fd < 0) in main()
94 const unsigned long connect_inode = inode_of_sockfd(connect_fd); in main()
96 connect_fd, connect_inode); in main()
99 if (connect(connect_fd, listen_sa, *len)) in main()
103 connect_fd, connect_inode, listen_port, (unsigned) *len); in main()
131 if (getpeername(connect_fd, listen_sa, len)) in main()
136 connect_fd, connect_port, listen_port, listen_port, in main()
140 if (setsockopt(connect_fd, SOL_TCP, TCP_MAXSEG, optval, *len)) in main()
144 connect_fd, connect_port, listen_port, *optval, in main()
[all …]
/external/ltp/testcases/network/lib6/
Dasapi_01.c336 static int listen_fd, connect_fd; variable
340 connect_fd = accept(listen_fd, 0, 0); in ilistener()
373 fd[1] = connect_fd; in isocketpair()
/external/libmicrohttpd/src/examples/
Dmhd2spdy_http.c108 ret = setsockopt(info->connect_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val)); in http_cb_response()
/external/libmicrohttpd/src/include/
Dmicrohttpd.h1063 MHD_socket connect_fd; member