Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg02.c70 SAFE_BIND(sdr, (struct sockaddr*)&addr_init, sizeof(addr_init)); in verify_recvmsg()
74 SAFE_BIND(sdw, (struct sockaddr*)&addr_init, sizeof(addr_init)); in verify_recvmsg()
Drecvmsg03.c72 SAFE_BIND(sock_fd1, (struct sockaddr *) &server_addr, sizeof(server_addr)); in client()
115 SAFE_BIND(sock_fd2, (struct sockaddr *) &server_addr, sizeof(server_addr)); in server()
/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.c39 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/include/
Dtst_safe_net.h60 #define SAFE_BIND(socket, address, address_len) \ macro
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c173 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/external/ltp/testcases/kernel/syscalls/sendmmsg/
Dsendmmsg01.c75 SAFE_BIND(receive_sockfd, (struct sockaddr *)&addr, sizeof(addr)); in receiver_thread()
/external/ltp/testcases/kernel/syscalls/getpeername/
Dgetpeername01.c156 SAFE_BIND(cleanup, test_cases[i].sockfd, in setup3()
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c161 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c206 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/sockioctl/
Dsockioctl01.c210 SAFE_BIND(cleanup, s, (struct sockaddr *)&sin0, sizeof(sin0)); in setup1()
/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.c312 SAFE_BIND(sd, local_addrinfo->ai_addr, local_addrinfo->ai_addrlen); in bind_before_connect()
679 SAFE_BIND(sfd, local_addrinfo->ai_addr, local_addrinfo->ai_addrlen); in server_init()