Searched refs:clt_loop (Results 1 – 6 of 6) sorted by relevance
/third_party/ltp/utils/sctp/func_tests/ |
D | test_peeloff.c | 67 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local 119 clt_loop[i].v6.sin6_family = AF_INET6; in main() 120 clt_loop[i].v6.sin6_addr = in6addr_loopback; in main() 121 clt_loop[i].v6.sin6_port = htons(SCTP_TESTPORT_2 + i); in main() 123 clt_loop[i].v4.sin_family = AF_INET; in main() 124 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 125 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main() 127 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main() 246 outmessage.msg_name = &clt_loop[i]; in main() 247 outmessage.msg_namelen = sizeof(clt_loop[i]); in main() [all …]
|
D | test_recvmsg.c | 66 struct sockaddr_in svr_loop, clt_loop; in main() local 86 clt_loop.sin_family = AF_INET; in main() 87 clt_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 88 clt_loop.sin_port = htons(SCTP_TESTPORT_2); in main() 99 test_bind(clt_sk, (struct sockaddr *)&clt_loop, sizeof(clt_loop)); in main()
|
D | test_tcp_style.c | 66 sockaddr_storage_t clt_loop[MAX_CLIENTS]; in main() local 100 clt_loop[i].v6.sin6_family = AF_INET6; in main() 101 clt_loop[i].v6.sin6_addr = in6addr_loopback; in main() 102 clt_loop[i].v6.sin6_port = htons(SCTP_TESTPORT_2 + i); in main() 113 clt_loop[i].v4.sin_family = AF_INET; in main() 114 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 115 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main() 132 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main() 147 error = connect(listen_sk, (struct sockaddr *)&clt_loop[0], in main() 148 sizeof(clt_loop[0])); in main() [all …]
|
D | test_1_to_1_events.c | 57 struct sockaddr_in svr_loop, clt_loop,acpt_loop; in main() local 85 clt_loop.sin_family = AF_INET; in main() 86 clt_loop.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 87 clt_loop.sin_port = htons(SCTP_TESTPORT_1); in main() 107 test_connect(clt_sk, (struct sockaddr *) &clt_loop, len); in main()
|
D | test_assoc_shutdown.c | 68 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local 113 clt_loop[i].v4.sin_family = AF_INET; in main() 114 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 115 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main() 116 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main()
|
D | test_assoc_abort.c | 68 sockaddr_storage_t svr_loop, clt_loop[MAX_CLIENTS]; in main() local 113 clt_loop[i].v4.sin_family = AF_INET; in main() 114 clt_loop[i].v4.sin_addr.s_addr = SCTP_IP_LOOPBACK; in main() 115 clt_loop[i].v4.sin_port = htons(SCTP_TESTPORT_2 + i); in main() 116 test_bind(clt_sk[i], &clt_loop[i].sa, sizeof(clt_loop[i])); in main()
|