Home
last modified time | relevance | path

Searched refs:listen_sa (Results 1 – 9 of 9) sorted by relevance

/external/strace/tests/
Dnet-yy-unix.c54 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
69 if (bind(listen_fd, listen_sa, *len)) in main()
88 memset(listen_sa, 0, sizeof(addr)); in main()
90 if (getsockname(listen_fd, listen_sa, len)) in main()
103 if (connect(connect_fd, listen_sa, *len)) in main()
122 memset(listen_sa, 0, sizeof(addr)); in main()
124 if (getpeername(connect_fd, listen_sa, len)) in main()
169 memset(listen_sa, 0, sizeof(addr)); in main()
171 if (getsockname(listen_fd, listen_sa, len)) in main()
177 if (connect(connect_fd, listen_sa, *len)) in main()
[all …]
Dnet-y-unix.c54 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
69 if (bind(listen_fd, listen_sa, *len)) in main()
87 memset(listen_sa, 0, sizeof(addr)); in main()
89 if (getsockname(listen_fd, listen_sa, len)) in main()
102 if (connect(connect_fd, listen_sa, *len)) in main()
121 memset(listen_sa, 0, sizeof(addr)); in main()
123 if (getpeername(connect_fd, listen_sa, len)) in main()
165 memset(listen_sa, 0, sizeof(addr)); in main()
167 if (getsockname(listen_fd, listen_sa, len)) in main()
174 if (connect(connect_fd, listen_sa, *len)) in main()
[all …]
Dnet-yy-inet.c67 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
79 if (bind(listen_fd, listen_sa, *len)) in main()
90 memset(listen_sa, 0, sizeof(addr)); in main()
92 if (getsockname(listen_fd, listen_sa, len)) in main()
95 ntohs(((struct SOCKADDR_TYPE *) listen_sa)->INPORT); in main()
118 if (connect(connect_fd, listen_sa, *len)) in main()
148 memset(listen_sa, 0, sizeof(addr)); in main()
150 if (getpeername(connect_fd, listen_sa, len)) in main()
/external/strace/tests-m32/
Dnet-yy-unix.c54 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
69 if (bind(listen_fd, listen_sa, *len)) in main()
88 memset(listen_sa, 0, sizeof(addr)); in main()
90 if (getsockname(listen_fd, listen_sa, len)) in main()
103 if (connect(connect_fd, listen_sa, *len)) in main()
122 memset(listen_sa, 0, sizeof(addr)); in main()
124 if (getpeername(connect_fd, listen_sa, len)) in main()
169 memset(listen_sa, 0, sizeof(addr)); in main()
171 if (getsockname(listen_fd, listen_sa, len)) in main()
177 if (connect(connect_fd, listen_sa, *len)) in main()
[all …]
Dnet-y-unix.c54 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
69 if (bind(listen_fd, listen_sa, *len)) in main()
87 memset(listen_sa, 0, sizeof(addr)); in main()
89 if (getsockname(listen_fd, listen_sa, len)) in main()
102 if (connect(connect_fd, listen_sa, *len)) in main()
121 memset(listen_sa, 0, sizeof(addr)); in main()
123 if (getpeername(connect_fd, listen_sa, len)) in main()
165 memset(listen_sa, 0, sizeof(addr)); in main()
167 if (getsockname(listen_fd, listen_sa, len)) in main()
174 if (connect(connect_fd, listen_sa, *len)) in main()
[all …]
Dnet-yy-inet.c67 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
79 if (bind(listen_fd, listen_sa, *len)) in main()
90 memset(listen_sa, 0, sizeof(addr)); in main()
92 if (getsockname(listen_fd, listen_sa, len)) in main()
95 ntohs(((struct SOCKADDR_TYPE *) listen_sa)->INPORT); in main()
118 if (connect(connect_fd, listen_sa, *len)) in main()
148 memset(listen_sa, 0, sizeof(addr)); in main()
150 if (getpeername(connect_fd, listen_sa, len)) in main()
/external/strace/tests-mx32/
Dnet-yy-unix.c54 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
69 if (bind(listen_fd, listen_sa, *len)) in main()
88 memset(listen_sa, 0, sizeof(addr)); in main()
90 if (getsockname(listen_fd, listen_sa, len)) in main()
103 if (connect(connect_fd, listen_sa, *len)) in main()
122 memset(listen_sa, 0, sizeof(addr)); in main()
124 if (getpeername(connect_fd, listen_sa, len)) in main()
169 memset(listen_sa, 0, sizeof(addr)); in main()
171 if (getsockname(listen_fd, listen_sa, len)) in main()
177 if (connect(connect_fd, listen_sa, *len)) in main()
[all …]
Dnet-y-unix.c54 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
69 if (bind(listen_fd, listen_sa, *len)) in main()
87 memset(listen_sa, 0, sizeof(addr)); in main()
89 if (getsockname(listen_fd, listen_sa, len)) in main()
102 if (connect(connect_fd, listen_sa, *len)) in main()
121 memset(listen_sa, 0, sizeof(addr)); in main()
123 if (getpeername(connect_fd, listen_sa, len)) in main()
165 memset(listen_sa, 0, sizeof(addr)); in main()
167 if (getsockname(listen_fd, listen_sa, len)) in main()
174 if (connect(connect_fd, listen_sa, *len)) in main()
[all …]
Dnet-yy-inet.c67 struct sockaddr * const listen_sa = tail_memdup(&addr, sizeof(addr)); in main() local
79 if (bind(listen_fd, listen_sa, *len)) in main()
90 memset(listen_sa, 0, sizeof(addr)); in main()
92 if (getsockname(listen_fd, listen_sa, len)) in main()
95 ntohs(((struct SOCKADDR_TYPE *) listen_sa)->INPORT); in main()
118 if (connect(connect_fd, listen_sa, *len)) in main()
148 memset(listen_sa, 0, sizeof(addr)); in main()
150 if (getpeername(connect_fd, listen_sa, len)) in main()