/external/ltp/testcases/kernel/syscalls/recvmsg/ |
D | recvmsg02.c | 58 SAFE_BIND(sdr, (struct sockaddr*)&addr_init, sizeof(addr_init)); in verify_recvmsg() 62 SAFE_BIND(sdw, (struct sockaddr*)&addr_init, sizeof(addr_init)); in verify_recvmsg()
|
D | recvmsg03.c | 62 SAFE_BIND(sock_fd1, (struct sockaddr *) &server_addr, sizeof(server_addr)); in client() 105 SAFE_BIND(sock_fd2, (struct sockaddr *) &server_addr, sizeof(server_addr)); in server()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 77 SAFE_BIND(socket_fd, (struct sockaddr *)&sin0, sizeof(sin0)); in test_setup() 84 SAFE_BIND(udp_fd, (struct sockaddr *)&sin1, sizeof(sin1)); in test_setup()
|
D | accept02.c | 54 SAFE_BIND(server_sockfd, (struct sockaddr *)server_addr, addr_len); in server_thread() 82 SAFE_BIND(client_sockfd, (struct sockaddr *)client_addr, addr_len); in client_thread()
|
/external/ltp/include/old/ |
D | old_safe_net.h | 33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \ macro
|
/external/ltp/testcases/kernel/syscalls/bind/ |
D | bind03.c | 48 SAFE_BIND(sock1, (struct sockaddr *)&sun1, sizeof(sun1)); in run()
|
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
D | getsockopt02.c | 27 SAFE_BIND(socket_fd, (struct sockaddr *)&sun, sizeof(sun)); in setup()
|
D | getsockopt01.c | 199 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
|
/external/ltp/testcases/kernel/uevents/ |
D | uevent.h | 115 SAFE_BIND(fd, (struct sockaddr *)&nl_addr, sizeof(nl_addr)); in open_uevent_netlink()
|
/external/ltp/utils/sctp/func_tests/ |
D | test_1_to_1_initmsg_connect.c | 59 SAFE_BIND(sk3, (struct sockaddr *) &lstn_addr, sizeof(lstn_addr)); in test_sctp()
|
/external/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 80 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
/external/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 173 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
|
/external/ltp/include/ |
D | tst_safe_net.h | 60 #define SAFE_BIND(socket, address, address_len) \ macro
|
/external/ltp/testcases/kernel/syscalls/getpeername/ |
D | getpeername01.c | 156 SAFE_BIND(cleanup, test_cases[i].sockfd, in setup3()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 75 SAFE_BIND(lfd, (struct sockaddr *)&svaddr, sizeof(struct sockaddr_in)); in create_listening_socket()
|
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt01.c | 206 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 210 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
|
/external/ltp/testcases/network/sctp/ |
D | sctp_big_chunk.c | 41 SAFE_BIND(sfd, (struct sockaddr *)&loc, sizeof(loc)); in setup_server()
|
/external/ltp/testcases/kernel/syscalls/fsetxattr/ |
D | fsetxattr02.c | 229 SAFE_BIND(tc[i].fd, (const struct sockaddr *) &sun, in setup()
|
/external/ltp/testcases/kernel/syscalls/fgetxattr/ |
D | fgetxattr02.c | 243 SAFE_BIND(tc[i].fd, (const struct sockaddr *) &sun, in setup()
|
/external/ltp/testcases/network/lib6/ |
D | asapi_03.c | 261 SAFE_BIND(NULL, sr, (struct sockaddr *)&sin6, sizeof(sin6)); in so_test()
|
D | asapi_01.c | 355 SAFE_BIND(NULL, listen_fd, (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
|
/external/ltp/testcases/network/netstress/ |
D | netstress.c | 311 SAFE_BIND(sd, local_addrinfo->ai_addr, local_addrinfo->ai_addrlen); in bind_before_connect() 681 SAFE_BIND(sfd, local_addrinfo->ai_addr, local_addrinfo->ai_addrlen); in server_init()
|