/third_party/ltp/testcases/kernel/syscalls/bind/ |
D | bind06.c | 55 SAFE_BIND(fd, (struct sockaddr *)&addr1, sizeof(addr1)); in do_bind() 56 SAFE_BIND(fd, (struct sockaddr *)&addr2, sizeof(addr2)); in do_bind()
|
D | bind03.c | 72 SAFE_BIND(sock1, (struct sockaddr *)&sun1, sizeof(sun1)); in setup()
|
/third_party/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()
|
D | recvmsg01.c | 369 SAFE_BIND(sfd, (struct sockaddr *)ssin, sizeof(*ssin)); in start_server() 375 SAFE_BIND(ufd, (struct sockaddr *)ssun, sizeof(*ssun)); in start_server()
|
/third_party/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 79 SAFE_BIND(socket_fd, (struct sockaddr *)&sin0, sizeof(sin0)); in test_setup() 86 SAFE_BIND(udp_fd, (struct sockaddr *)&sin1, sizeof(sin1)); in test_setup()
|
D | accept02.c | 57 SAFE_BIND(server_sockfd, (struct sockaddr *)server_addr, addr_len); in server_thread() 86 SAFE_BIND(client_sockfd, (struct sockaddr *)client_addr, addr_len); in client_thread()
|
/third_party/ltp/testcases/kernel/syscalls/connect/ |
D | connect02.c | 54 SAFE_BIND(listenfd, (struct sockaddr *)&bind_addr, sizeof(bind_addr)); in setup() 105 SAFE_BIND(fd, (struct sockaddr *)&bind_addr4, in run()
|
/third_party/ltp/testcases/network/can/filter-tests/ |
D | can_rcv_own_msgs.c | 99 SAFE_BIND(s, (struct sockaddr *)&addr, sizeof(addr)); in setup() 100 SAFE_BIND(t, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
D | can_filter.c | 69 SAFE_BIND(s, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
/third_party/ltp/include/old/ |
D | old_safe_net.h | 33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \ macro
|
/third_party/ltp/testcases/kernel/containers/netns/ |
D | netns_netlink.c | 56 SAFE_BIND(fd, (struct sockaddr *) &sa, sizeof(sa)); in child_func()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/setsockopt/ |
D | setsockopt05.c | 50 SAFE_BIND(dst_sock, (struct sockaddr *)&addr, addrlen); in setup()
|
D | setsockopt01.c | 72 SAFE_BIND(fd, (struct sockaddr *)&addr, sizeof(addr)); in run()
|
/third_party/ltp/testcases/kernel/uevents/ |
D | uevent.h | 115 SAFE_BIND(fd, (struct sockaddr *)&nl_addr, sizeof(nl_addr)); in open_uevent_netlink()
|
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/ |
D | epoll_wait05.c | 32 SAFE_BIND(sockfd_server, (struct sockaddr *)&serv_addr, sizeof(serv_addr)); in create_server()
|
/third_party/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()
|
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/ |
D | recvmmsg01.c | 111 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/getsockname/ |
D | getsockname01.c | 173 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
|
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/ |
D | sendmmsg01.c | 74 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
|
/third_party/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 61 SAFE_BIND(lfd, (struct sockaddr *)&svaddr, sizeof(struct sockaddr_in)); in create_listening_socket()
|
/third_party/ltp/testcases/kernel/syscalls/getpeername/ |
D | getpeername01.c | 156 SAFE_BIND(cleanup, test_cases[i].sockfd, in setup3()
|
/third_party/ltp/include/ |
D | tst_safe_net.h | 51 #define SAFE_BIND(socket, address, address_len) \ macro
|