Home
last modified time | relevance | path

Searched refs:SAFE_CONNECT (Results 1 – 16 of 16) sorted by relevance

/external/ltp/include/old/
Dold_safe_net.h40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \ macro
/external/ltp/testcases/cve/
Dcve-2017-2671.c108 SAFE_CONNECT(sockfd, in run()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c47 SAFE_CONNECT(fork_socket_fd, (struct sockaddr *)&sun, sizeof(sun)); in fork_func()
/external/ltp/include/
Dtst_safe_net.h67 #define SAFE_CONNECT(sockfd, addr, addrlen) \ macro
/external/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c34 SAFE_CONNECT(send_sockfd, (struct sockaddr *) &addr, sizeof(addr)); in sender_thread()
/external/ltp/testcases/kernel/syscalls/sendfile/
Dsendfile05.c220 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
Dsendfile06.c202 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
Dsendfile02.c258 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
Dsendfile04.c255 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in create_server()
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c302 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/
Dconnect01.c237 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup2()
/external/ltp/testcases/kernel/syscalls/send/
Dsend01.c330 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
/external/ltp/testcases/kernel/syscalls/sendto/
Dsendto01.c400 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
/external/ltp/testcases/network/lib6/
Dasapi_01.c369 SAFE_CONNECT(NULL, fd[0], (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c659 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, sizeof(sin1)); in setup5()
/external/ltp/testcases/network/netstress/
Dnetstress.c335 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()