Home
last modified time | relevance | path

Searched refs:svr_loop (Results 1 – 9 of 9) sorted by relevance

/external/ltp/utils/sctp/func_tests/
Dtest_connect.c62 sockaddr_storage_t svr_loop, clt_loop1, clt_loop2, clt_loop3; in main() local
76 svr_loop.v4.sin_family = AF_INET; in main()
77 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
78 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main()
91 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
115 error = connect(clt_sk1, &svr_loop.sa, sizeof(svr_loop)); in main()
126 error = connect(clt_sk1, &svr_loop.sa, sizeof(svr_loop)); in main()
166 test_connect(clt_sk2, &svr_loop.sa, sizeof(svr_loop)); in main()
Dtest_getname.c63 sockaddr_storage_t svr_loop, accept_loop; in main() local
80 svr_loop.v6.sin6_family = AF_INET6; in main()
81 svr_loop.v6.sin6_addr = (struct in6_addr)SCTP_IN6ADDR_ANY_INIT; in main()
82 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main()
85 svr_loop.v4.sin_family = AF_INET; in main()
86 svr_loop.v4.sin_addr.s_addr = INADDR_ANY; in main()
87 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main()
92 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
121 svr_loop.v6.sin6_addr = in6addr_loopback; in main()
123 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
[all …]
Dtest_tcp_style.c66 sockaddr_storage_t svr_loop, accept_loop, clt2_loop; in main() local
92 svr_loop.v6.sin6_family = AF_INET6; in main()
93 svr_loop.v6.sin6_addr = in6addr_loopback; in main()
94 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main()
105 svr_loop.v4.sin_family = AF_INET; in main()
106 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
107 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main()
120 test_bind(listen_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
153 test_connect(clt_sk[i], &svr_loop.sa, sizeof(svr_loop)); in main()
160 error = connect(clt2_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
[all …]
Dtest_recvmsg.c65 struct sockaddr_in svr_loop, clt_loop; in main() local
79 svr_loop.sin_family = AF_INET; in main()
80 svr_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
81 svr_loop.sin_port = htons(SCTP_TESTPORT_1); in main()
88 test_bind(svr_sk, (struct sockaddr *)&svr_loop, sizeof(svr_loop)); in main()
103 outmessage.msg_name = &svr_loop; in main()
104 outmessage.msg_namelen = sizeof(svr_loop); in main()
Dtest_1_to_1_events.c56 struct sockaddr_in svr_loop, clt_loop,acpt_loop; in main() local
77 svr_loop.sin_family = AF_INET; in main()
78 svr_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
79 svr_loop.sin_port = htons(SCTP_TESTPORT_1); in main()
87 test_bind(svr_sk, (struct sockaddr *) &svr_loop, sizeof(svr_loop)); in main()
109 outmessage.msg_name = &svr_loop; in main()
110 outmessage.msg_namelen = sizeof(svr_loop); in main()
Dtest_peeloff.c66 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local
91 svr_loop.v6.sin6_family = AF_INET6; in main()
92 svr_loop.v6.sin6_addr = in6addr_loopback; in main()
93 svr_loop.v6.sin6_port = htons(SCTP_TESTPORT_1); in main()
96 svr_loop.v4.sin_family = AF_INET; in main()
97 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
98 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main()
103 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
131 outmessage.msg_name = &svr_loop; in main()
132 outmessage.msg_namelen = sizeof(svr_loop); in main()
Dtest_assoc_abort.c67 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local
94 svr_loop.v4.sin_family = AF_INET; in main()
95 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
96 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main()
97 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
118 outmessage.msg_name = &svr_loop; in main()
119 outmessage.msg_namelen = sizeof(svr_loop); in main()
Dtest_assoc_shutdown.c67 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local
94 svr_loop.v4.sin_family = AF_INET; in main()
95 svr_loop.v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main()
96 svr_loop.v4.sin_port = htons(SCTP_TESTPORT_1); in main()
97 test_bind(svr_sk, &svr_loop.sa, sizeof(svr_loop)); in main()
118 outmessage.msg_name = &svr_loop; in main()
119 outmessage.msg_namelen = sizeof(svr_loop); in main()
Dtest_connectx.c77 struct sockaddr_in svr_loop[NUMADDR]; in main() local
91 svr_loop[i].sin_family = AF_INET; in main()
92 svr_loop[i].sin_addr.s_addr = SCTP_IP_LOOPBACK_I(i); in main()
93 svr_loop[i].sin_port = htons(SCTP_TESTPORT_1); in main()
124 test_bind(svr_sk, (struct sockaddr *)&svr_loop[0], sizeof(svr_loop[0])); in main()
125 test_bindx_add(svr_sk, (struct sockaddr *)&svr_loop[1], NUMADDR-1); in main()