Home
last modified time | relevance | path

Searched refs:clt_loop (Results 1 – 6 of 6) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_peeloff.c66 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local
115 clt_loop[i].v6.sin6_family = AF_INET6; in main()
116 clt_loop[i].v6.sin6_addr = in6addr_loopback; in main()
117 clt_loop[i].v6.sin6_port = htons(SCTP_TESTPORT_2 + i); in main()
119 clt_loop[i].v4.sin_family = AF_INET; in main()
120 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
121 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main()
123 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main()
242 outmessage.msg_name = &clt_loop[i]; in main()
243 outmessage.msg_namelen = sizeof(clt_loop[i]); in main()
[all …]
Dtest_recvmsg.c65 struct sockaddr_in svr_loop, clt_loop; in main() local
82 clt_loop.sin_family = AF_INET; in main()
83 clt_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
84 clt_loop.sin_port = htons(SCTP_TESTPORT_2); in main()
95 test_bind(clt_sk, (struct sockaddr *)&clt_loop, sizeof(clt_loop)); in main()
Dtest_tcp_style.c65 sockaddr_storage_t clt_loop[MAX_CLIENTS]; in main() local
96 clt_loop[i].v6.sin6_family = AF_INET6; in main()
97 clt_loop[i].v6.sin6_addr = in6addr_loopback; in main()
98 clt_loop[i].v6.sin6_port = htons(SCTP_TESTPORT_2 + i); in main()
109 clt_loop[i].v4.sin_family = AF_INET; in main()
110 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
111 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main()
128 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main()
143 error = connect(listen_sk, (struct sockaddr *)&clt_loop[0], in main()
144 sizeof(clt_loop[0])); in main()
[all …]
Dtest_1_to_1_events.c56 struct sockaddr_in svr_loop, clt_loop,acpt_loop; in main() local
81 clt_loop.sin_family = AF_INET; in main()
82 clt_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
83 clt_loop.sin_port = htons(SCTP_TESTPORT_1); in main()
103 test_connect(clt_sk, (struct sockaddr *) &clt_loop, len); in main()
Dtest_assoc_abort.c67 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local
109 clt_loop[i].v4.sin_family = AF_INET; in main()
110 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
111 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main()
112 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main()
Dtest_assoc_shutdown.c67 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local
109 clt_loop[i].v4.sin_family = AF_INET; in main()
110 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
111 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main()
112 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main()