Searched refs:SAFE_CONNECT (Results 1 – 16 of 16) sorted by relevance
/external/ltp/include/old/ |
D | old_safe_net.h | 40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \ macro
|
/external/ltp/testcases/cve/ |
D | cve-2017-2671.c | 108 SAFE_CONNECT(sockfd, in run()
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt02.c | 47 SAFE_CONNECT(fork_socket_fd, (struct sockaddr *)&sun, sizeof(sun)); in fork_func()
|
/external/ltp/include/ |
D | tst_safe_net.h | 67 #define SAFE_CONNECT(sockfd, addr, addrlen) \ macro
|
/external/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 34 SAFE_CONNECT(send_sockfd, (struct sockaddr *) &addr, sizeof(addr)); in sender_thread()
|
/external/ltp/testcases/kernel/syscalls/sendfile/ |
D | sendfile05.c | 220 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
|
D | sendfile06.c | 202 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
|
D | sendfile02.c | 258 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
|
D | sendfile04.c | 255 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 302 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, in setup1() 314 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sun1, in setup1()
|
/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect01.c | 237 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup2()
|
/external/ltp/testcases/kernel/syscalls/send/ |
D | send01.c | 330 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
|
/external/ltp/testcases/kernel/syscalls/sendto/ |
D | sendto01.c | 400 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_01.c | 369 SAFE_CONNECT(NULL, fd[0], (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
|
/external/ltp/testcases/kernel/syscalls/sendmsg/ |
D | sendmsg01.c | 659 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in setup5()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 335 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()
|