Home
last modified time | relevance | path

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

/external/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()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c77 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()
Daccept02.c54 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/
Dold_safe_net.h33 #define SAFE_BIND(cleanup_fn, socket, address, address_len) \ macro
/external/ltp/testcases/kernel/syscalls/bind/
Dbind03.c48 SAFE_BIND(sock1, (struct sockaddr *)&sun1, sizeof(sun1)); in run()
/external/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()
/external/ltp/testcases/kernel/uevents/
Duevent.h115 SAFE_BIND(fd, (struct sockaddr *)&nl_addr, sizeof(nl_addr)); in open_uevent_netlink()
/external/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()
/external/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c80 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in setup()
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c173 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/external/ltp/include/
Dtst_safe_net.h60 #define SAFE_BIND(socket, address, address_len) \ macro
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c156 SAFE_BIND(cleanup, test_cases[i].sockfd, in setup3()
/external/ltp/testcases/kernel/syscalls/accept4/
Daccept4_01.c75 SAFE_BIND(lfd, (struct sockaddr *)&svaddr, sizeof(struct sockaddr_in)); in create_listening_socket()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c206 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c210 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/external/ltp/testcases/network/sctp/
Dsctp_big_chunk.c41 SAFE_BIND(sfd, (struct sockaddr *)&loc, sizeof(loc)); in setup_server()
/external/ltp/testcases/kernel/syscalls/fsetxattr/
Dfsetxattr02.c229 SAFE_BIND(tc[i].fd, (const struct sockaddr *) &sun, in setup()
/external/ltp/testcases/kernel/syscalls/fgetxattr/
Dfgetxattr02.c243 SAFE_BIND(tc[i].fd, (const struct sockaddr *) &sun, in setup()
/external/ltp/testcases/network/lib6/
Dasapi_03.c261 SAFE_BIND(NULL, sr, (struct sockaddr *)&sin6, sizeof(sin6)); in so_test()
Dasapi_01.c355 SAFE_BIND(NULL, listen_fd, (struct sockaddr *)&sin4, sizeof(sin4)); in isocketpair()
/external/ltp/testcases/network/netstress/
Dnetstress.c311 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()