/external/ltp/testcases/kernel/syscalls/connect/ |
D | connect02.c | 86 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()
|
D | connect01.c | 237 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup2()
|
/external/ltp/testcases/network/can/cve/ |
D | can_bcm01.c | 58 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/ |
D | old_safe_net.h | 40 #define SAFE_CONNECT(cleanup_fn, sockfd, addr, addrlen) \ macro
|
/external/ltp/testcases/cve/ |
D | cve-2017-2671.c | 96 SAFE_CONNECT(sockfd, in run()
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt02.c | 35 SAFE_CONNECT(fork_socket_fd, (struct sockaddr *)&sun, sizeof(sun)); in fork_func()
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt05.c | 69 SAFE_CONNECT(sock, (struct sockaddr *)&addr, sizeof(addr)); in run()
|
/external/ltp/testcases/kernel/syscalls/recvmmsg/ |
D | recvmmsg01.c | 112 SAFE_CONNECT(send_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
/external/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 75 SAFE_CONNECT(send_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept02.c | 88 SAFE_CONNECT(client_sockfd, (struct sockaddr *)server_addr, addr_len); in client_thread()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 105 SAFE_CONNECT(connfd, (struct sockaddr *)conn_addr, sizeof(*conn_addr)); in verify_accept4()
|
/external/ltp/include/ |
D | tst_safe_net.h | 61 #define SAFE_CONNECT(sockfd, addr, addrlen) \ macro
|
/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg01.c | 305 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/ |
D | send02.c | 146 SAFE_CONNECT(sock, (struct sockaddr *)&addr, len); in run()
|
D | send01.c | 330 SAFE_CONNECT(cleanup, s, (const struct sockaddr *)&sin1, sizeof(sin1)); in setup1()
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind04.c | 92 SAFE_CONNECT(sock, tc->address, tc->addrlen); in peer_thread()
|
D | bind05.c | 101 SAFE_CONNECT(sock, tc->address, tc->addrlen); in peer_thread()
|
/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 | 343 SAFE_CONNECT(cfd, remote_addrinfo->ai_addr, in client_connect_send()
|
/external/ltp/doc/ |
D | network-c-api.txt | 36 - +SAFE_CONNECT()+
|