Home
last modified time | relevance | path

Searched refs:SAFE_BIND (Results 1 – 25 of 40) sorted by relevance

12

/third_party/ltp/testcases/kernel/syscalls/bind/
Dbind06.c55 SAFE_BIND(fd, (struct sockaddr *)&addr1, sizeof(addr1)); in do_bind()
56 SAFE_BIND(fd, (struct sockaddr *)&addr2, sizeof(addr2)); in do_bind()
Dbind03.c72 SAFE_BIND(sock1, (struct sockaddr *)&sun1, sizeof(sun1)); in setup()
/third_party/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c58 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()
Drecvmsg03.c62 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()
Drecvmsg01.c369 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/
Daccept01.c79 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()
Daccept02.c57 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/
Dconnect02.c54 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/
Dcan_rcv_own_msgs.c99 SAFE_BIND(s, (struct sockaddr *)&addr, sizeof(addr)); in setup()
100 SAFE_BIND(t, (struct sockaddr *)&addr, sizeof(addr)); in setup()
Dcan_filter.c69 SAFE_BIND(s, (struct sockaddr *)&addr, sizeof(addr)); in setup()
/third_party/ltp/include/old/
Dold_safe_net.h33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \ macro
/third_party/ltp/testcases/kernel/containers/netns/
Dnetns_netlink.c56 SAFE_BIND(fd, (struct sockaddr *) &sa, sizeof(sa)); in child_func()
/third_party/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt02.c27 SAFE_BIND(socket_fd, (struct sockaddr *)&sun, sizeof(sun)); in setup()
Dgetsockopt01.c199 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/third_party/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt05.c50 SAFE_BIND(dst_sock, (struct sockaddr *)&addr, addrlen); in setup()
Dsetsockopt01.c72 SAFE_BIND(fd, (struct sockaddr *)&addr, sizeof(addr)); in run()
/third_party/ltp/testcases/kernel/uevents/
Duevent.h115 SAFE_BIND(fd, (struct sockaddr *)&nl_addr, sizeof(nl_addr)); in open_uevent_netlink()
/third_party/ltp/testcases/kernel/syscalls/epoll_wait/
Depoll_wait05.c32 SAFE_BIND(sockfd_server, (struct sockaddr *)&serv_addr, sizeof(serv_addr)); in create_server()
/third_party/ltp/utils/sctp/func_tests/
Dtest_1_to_1_initmsg_connect.c59 SAFE_BIND(sk3, (struct sockaddr *) &lstn_addr, sizeof(lstn_addr)); in test_sctp()
/third_party/ltp/testcases/kernel/syscalls/recvmmsg/
Drecvmmsg01.c111 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
/third_party/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c173 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/third_party/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c74 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
/third_party/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c61 SAFE_BIND(lfd, (struct sockaddr *)&svaddr, sizeof(struct sockaddr_in)); in create_listening_socket()
/third_party/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c156 SAFE_BIND(cleanup, test_cases[i].sockfd, in setup3()
/third_party/ltp/include/
Dtst_safe_net.h51 #define SAFE_BIND(socket, address, address_len) \ macro

12