Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/connect/
Dconnect02.c86 SAFE_CONNECT(confd1, (struct sockaddr *)&client_addr, in run()
103 SAFE_CONNECT(fd, (struct sockaddr *)&reset_addr, in run()
111 SAFE_CONNECT(confd2, (struct sockaddr *)&client_addr2, addrlen); in run()
Dconnect01.c237 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup2()
/external/ltp/testcases/network/can/cve/
Dcan_bcm01.c58 SAFE_CONNECT(sock1, (struct sockaddr *)&addr, sizeof(addr)); in setup()
115 SAFE_CONNECT(sock2, (struct sockaddr *)&addr, sizeof(addr)); in run()
/external/ltp/include/old/
Dold_safe_net.h40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \ macro
/external/ltp/testcases/cve/
Dcve-2017-2671.c96 SAFE_CONNECT(sockfd, in run()
/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c35 SAFE_CONNECT(fork_socket_fd, (struct sockaddr *)&sun, sizeof(sun)); in fork_func()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt05.c69 SAFE_CONNECT(sock, (struct sockaddr *)&addr, sizeof(addr)); in run()
/external/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c112 SAFE_CONNECT(send_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
/external/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c75 SAFE_CONNECT(send_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept02.c88 SAFE_CONNECT(client_sockfd, (struct sockaddr *)server_addr, addr_len); in client_thread()
/external/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c105 SAFE_CONNECT(connfd, (struct sockaddr *)conn_addr, sizeof(*conn_addr)); in verify_accept4()
/external/ltp/include/
Dtst_safe_net.h61 #define SAFE_CONNECT(sockfd, addr, addrlen) \ macro
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c305 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sin1, in setup1()
317 SAFE_CONNECT(cleanup, s, (struct sockaddr *)&sun1, in setup1()
/external/ltp/testcases/kernel/syscalls/send/
Dsend02.c146 SAFE_CONNECT(sock, (struct sockaddr *)&addr, len); in run()
Dsend01.c330 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
/external/ltp/testcases/kernel/syscalls/bind/
Dbind04.c92 SAFE_CONNECT(sock, tc->address, tc->addrlen); in peer_thread()
Dbind05.c101 SAFE_CONNECT(sock, tc->address, tc->addrlen); in peer_thread()
/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.c343 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()
/external/ltp/doc/
Dnetwork-c-api.txt36 - +SAFE_CONNECT()+